WooCommerce product quantity field adding +2 products
-
I have a problem with Sullivan. I tried it on a blank installation with only Sullivan and WooCommerce enabled, with only one basic product created.
On certain browsers (Chrome and sometimes Firefox), when I click on the up arrow to add one product to the basket, it adds 2. It seems it is due to a conflict between the code used by the theme (a js script maybe?) and the one used by WooCommerce.
All this has been tested on a blank installation with latest versions of WooCommerce, Sullivan and WordPress to date.
For me the cause of the bug is in global.js.
Lines 317 and 318 are redundant$spinner.find( 'input' ).val( newVal );
$spinner.find( 'input' ).trigger( 'change' );
Same problem with down button, lines 330 and 331
I’m not sure why I have not this bug on all browsers.
- The topic ‘WooCommerce product quantity field adding +2 products’ is closed to new replies.