Quantity buttons firing twice
-
I’m using a custom product loop template to allow for choosing variations and adding to cart directly from Shop listing pages. I’m using this to pull in the add to cart form, button, etc.
do_action( ‘woocommerce_’ . $product->get_type() . ‘_add_to_cart’ )
The template works fine except when I have the QIB plugin installed the Javascript fires twice. So every time you click the + button the quantity goes up by 2 instead of going up by 1… 3, 5, 7, 9, etc.
Been working on this for 5 hours now trying to fix it with no luck. This is a development site so I can’t share the URL here (although I could share directly with the author in a private message if that’s possible).
This happens even with a stock theme and all plugins except Woo and QIB disabled.
- The topic ‘Quantity buttons firing twice’ is closed to new replies.