in cart; on product quantity update, change the value too.

master
Asad Akram 2019-01-22 14:07:32 +05:00 committed by Mark Moffat
parent ac01568036
commit 4739b59c1f
1 changed files with 6 additions and 0 deletions

View File

@ -142,6 +142,12 @@ $(document).ready(function (){
cartUpdate(qtyElement);
});
$(document).on('change', '.cart-product-quantity', function (e) {
cartUpdate(e.target);
});
$(document).on('click', '.btn-delete-from-cart', function(e){
deleteFromCart($(e.target));
});