in cart; on product quantity update, change the value too.
parent
ac01568036
commit
4739b59c1f
|
@ -142,6 +142,12 @@ $(document).ready(function (){
|
||||||
cartUpdate(qtyElement);
|
cartUpdate(qtyElement);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
$(document).on('change', '.cart-product-quantity', function (e) {
|
||||||
|
|
||||||
|
cartUpdate(e.target);
|
||||||
|
});
|
||||||
|
|
||||||
$(document).on('click', '.btn-delete-from-cart', function(e){
|
$(document).on('click', '.btn-delete-from-cart', function(e){
|
||||||
deleteFromCart($(e.target));
|
deleteFromCart($(e.target));
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue