quantity miscalculation in cart
Hello,
the quantity shown in the cart is wrong. If there is an item in the cart, it would show 11. If there are 2 it would show 22. How can I solve this issue?
tende_ecart.php?categoria=tenda&style=Colors%20STYLE
Hello,
the quantity shown in the cart is wrong. If there is an item in the cart, it would show 11. If there are 2 it would show 22. How can I solve this issue?
tende_ecart.php?categoria=tenda&style=Colors%20STYLE
you have the code for the add to cart button inside a recordset loop, this is causing the code to be executed multiple times and multiple items added to the cart.The code for the add to cart button should be in the head of the page, not within the body inside a recordset loop.
Isn't it possible to force the quantity to be always 1 in the add to cart form?
in the add to cart behavior, you could set If in Cart option to Replace
How do do that? I don't see that option. Sorry
in the add to cart button behavior, on the bindings tab, see the attached screen shot.
Ok I got that. However if I select the and item twice it won't add up. Is there any way to keep the add to cart form in the loop and the php out of it by passing variables? I tried to put the php on top but the cart wouldn't work.
yes, move the add to cart code outside of the loop....
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.