Showing Quantity on Shop Page adds additional items to cart on mobile
-
I recently added the ability to add quantities next to the Add to Cart button on the Shop page from this script on the WooCommerce site (https://docs.woocommerce.com/document/override-loop-template-and-show-quantities-next-to-add-to-cart-buttons/). It works but when I bring my width down and the display changes from four items per row to one or two, if I click any of the Add to Cart buttons, it then adds an additional item to the cart. So instead of one item, it become two. This does not happens when I get four items per row or basically, a desktop width. This is bizarre. Why is this happening?
The page I need help with: [log in to see the link]
- The topic ‘Showing Quantity on Shop Page adds additional items to cart on mobile’ is closed to new replies.