I thought i ought to alert the community to a potentially serious bug.
I have been testing 18.03 and found a bug in the add to cart code. If you allow customers to enter a quantity (rather than selecting a quantity drop down) and enter an invalid amount (say a letter or a decimal) no validation occurs and the product is added to your cart. It shows with a valid price but with a blank quantity and a zero total price. The customer can go all the way through to order it and get a confirmation email with the same details. I checked my 16 installation and it has the validation built in correctly. Not sure how it managed to drop out of the code in 18. I have raised to Sellerdeck.
FYI - we have some custom Javascript that is run before the Sellerdeck add to cart code. This catches the problem in most cases and gives a nice message to customers.. However the code is not used on all our products. I found the issue on products that don't run the code.
Thanks Tony
I have been testing 18.03 and found a bug in the add to cart code. If you allow customers to enter a quantity (rather than selecting a quantity drop down) and enter an invalid amount (say a letter or a decimal) no validation occurs and the product is added to your cart. It shows with a valid price but with a blank quantity and a zero total price. The customer can go all the way through to order it and get a confirmation email with the same details. I checked my 16 installation and it has the validation built in correctly. Not sure how it managed to drop out of the code in 18. I have raised to Sellerdeck.
FYI - we have some custom Javascript that is run before the Sellerdeck add to cart code. This catches the problem in most cases and gives a nice message to customers.. However the code is not used on all our products. I found the issue on products that don't run the code.
Thanks Tony
Comment