Subtotal: ₹780.00
| Subtotal | ₹780.00 |
|---|---|
| Shipping |
Shipping to Uttarakhand. |
| GST | ₹15.00 |
| Total | ₹795.00 |
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: ₹780.00