Quantity does not ‘update’, always 1 in cart
-
The plugin installs without errors, the buttons show up, the quantity changes up and down when I click the buttons. But no matter what quantity I enter, the quantity that gets added to the cart is always 1.
I did some amateur troubleshooting, and added a bunch of console.log() to the scripts.js file. The .plus or .minus button click correctly trigger qty.val(val + step); or qty.val(val – step);
When I unhide the <span class=”wqpmb_plain_input”> that value stays 1.
Working on localhost so no URL.
Tested with my own theme, and with Storefront theme, same thing happens – always only 1 items gets added to the cart. In the cart page, the value does update correctly and stays correct when I hit the “update cart” button.Wordpress 6.0 WooCommerce 6.5.1. No errors in Console or Debug.
Could you please help me fix this?
- The topic ‘Quantity does not ‘update’, always 1 in cart’ is closed to new replies.