Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › FREE products at PRO version: not updating › Reply To: FREE products at PRO version: not updating
June 7, 2017 at 4:31 pm
#1476
Soft79
Keymaster
That’s the way WooCommerce works; changes to the cart are only updated after pressing ‘Refresh cart’.
You could use this jQuery snippet, though:
jQuery( document ).on(
'change input',
'.wjecf-select-free-products :input',
function() {
jQuery('form.woocommerce-cart-form input[name="update_cart"]').click();
} );
Might need some tweaking.