[-] FO: Fix bug too much call of updateCartSummary when OPC and cart rule
This commit is contained in:
@@ -401,7 +401,6 @@ function updateNewAccountToAddressBlock()
|
|||||||
$.each(json.summary.products, function() {
|
$.each(json.summary.products, function() {
|
||||||
updateAddressId(this.id_product, this.id_product_attribute, '0', this.id_address_delivery);
|
updateAddressId(this.id_product, this.id_product_attribute, '0', this.id_address_delivery);
|
||||||
});
|
});
|
||||||
updateCartSummary(json.summary);
|
|
||||||
updateAddressesDisplay(true);
|
updateAddressesDisplay(true);
|
||||||
updateCarrierList(json.carrier_data);
|
updateCarrierList(json.carrier_data);
|
||||||
updateCarrierSelectionAndGift();
|
updateCarrierSelectionAndGift();
|
||||||
|
|||||||
Reference in New Issue
Block a user