Subtotal: ₹395.00
Subtotal | ₹395.00 |
---|---|
Shipping |
Shipping to Uttarakhand. |
GST | ₹7.90 |
Total | ₹402.90 |
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: ₹395.00