[-] FO : blockcart was only able to remove 1 product at a time #PSCFV-4170

This commit is contained in:
dMetzger
2012-09-20 12:38:28 +00:00
parent f492b58482
commit b656cfc6c2
+2 -6
View File
@@ -298,11 +298,6 @@ var ajaxCart = {
if (!stayInTheCart) if (!stayInTheCart)
{ {
removedProductId = $(this).attr('id'); removedProductId = $(this).attr('id');
//return false; // Regarding that the customer can only remove products one by one, we break the loop
}
});
//if there is a removed product, delete it from the displayed block cart
if (removedProductId != null) if (removedProductId != null)
{ {
var firstCut = removedProductId.replace('cart_block_product_', ''); var firstCut = removedProductId.replace('cart_block_product_', '');
@@ -326,7 +321,8 @@ var ajaxCart = {
}); });
}); });
} }
}
});
} }
}, },