$('.qty-input').on('change', function(){ var prev = $(this).data('val'); var current = $(this).val(); setTimeout(function() { if (prev != current){ $( "#cart_update" ).trigger( "click" ); } }, 500); });
This is an accepted solution.
Please go to sections and then go to cart-template.liquid and add the this code in very bottom. Wrap with Script tags
User | Count |
---|---|
23 | |
20 | |
17 | |
15 | |
15 |