"undefined" message when add item to cart
Posted 13 September 2021 - 10:05 AM
Posted 13 September 2021 - 10:06 AM
Hello, We using the Maximum product quantity module in a little "special" way. We use it for our sample products to allow only one sample per product. The "special" way is that we using a module to show the sample in the product page, e.g. with an "order-button" named in Swedish "Beställ provbit". So it's possible to buy the sample product from the main product page. Our problem is that your error message "You can maximum buy 1 product" doesn't work. The customer gets a error message with the text "Undefined". How shall we be able to solve this? Best regards, Peter
The problem is strictly related to the theme (the way of how the error is handled).
can you please, for a second, turn off option to smarty cache combine for .js files (i will be able to analyse the code that is behind cart scripts).
you can turn off this option under adv. parameters > performance: https://i.imgur.com/Z05ayDh.png
also, for test purposes, can you please also test how the 'add to cart' process behaves if you will switch this option: https://i.imgur.com/cg3b3oI.png ?
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users