[-] BO : #PSTEST-637 - Removing a product from ajax-cart don't refresh the cart summary
This commit is contained in:
@@ -257,7 +257,7 @@ var ajaxCart = {
|
||||
success: function(jsonData) {
|
||||
ajaxCart.updateCart(jsonData);
|
||||
if ($('body').attr('id') == 'order' || $('body').attr('id') == 'order-opc')
|
||||
deletProductFromSummary(idProduct+'_'+idCombination);
|
||||
deleteProductFromSummary(idProduct+'_'+idCombination+'_'+customizationId+'_'+idAddressDelivery);
|
||||
},
|
||||
error: function() {alert('ERROR: unable to delete the product');}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user