Subtotal: ₹1,001.00
Subtotal | ₹1,001.00 |
---|---|
Shipping | Shipping costs are calculated during checkout. |
GST | ₹20.02 |
Total | ₹1,021.02 |
var timeout;
jQuery(document).ready(function($) {
var timeout;
$('.woocommerce').on('change', 'input.qty', function(){
if ( timeout !== undefined ) { clearTimeout( timeout ); }
timeout = setTimeout(function() { $("[name='update_cart']").trigger("click"); }, 1000 ); // 1 second delay, half a second (500) seems comfortable too
});
});
Subtotal: ₹1,001.00