Reset quantity
-
Thanks for a great plugin!
I tried it, and the first time it worked just like I wanted to. The correct product with quantity 1 in the cart.
Then I clicked “back” and tried it again. This time the quantity increased to 2. It’s not possible to buy 2 items, only one, so I went into the Product and checked the checkbox for only allowing one of this product for each order.
But now when I click the button more than once, the button stops working. It just reloads the page without going to the checkout. If i go to the checkout page manually, there are actually more than one of the same product, even though I’ve checked the checkbox to disallow this.
Any chance you could add an “empty cart” function to this button, so that it always adds the product to an empty cart? That would solve my problem.
- The topic ‘Reset quantity’ is closed to new replies.