Add to cart wrong quantity
-
Hello
I’m trying to install the last update of woocommerce in local before to push in prod. I have the last version of wordpress. I use Astra Theme (with pro extension).
When I go to the product list page and use the + and – buttons to change the quantity, when I click on the ‘Add to cart’ button, it always adds 1 quantity (even if I clicked 3 times on the + button). I found the solution by adding
r['quantity'] = a.parent().find(o('.input-text.qty.text')).val()
just before
o(document.body) .trigger("adding_to_cart", [a, r]), t.data.addToCartHandler.addRequest
do you know the problem? how can i fix it without having any impact with the next update
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Add to cart wrong quantity’ is closed to new replies.