// Fix bug with multishipping on user login with OPC
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16125 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -357,6 +357,12 @@ function updateNewAccountToAddressBlock()
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
$('#opc_new_account').fadeIn('fast', function() {
|
$('#opc_new_account').fadeIn('fast', function() {
|
||||||
|
|
||||||
|
//After login, the products are automatically associated to an address
|
||||||
|
$.each(json.summary.products, function() {
|
||||||
|
updateAddressId(this.id_product, this.id_product_attribute, '0', this.id_address_delivery);
|
||||||
|
});
|
||||||
|
|
||||||
updateCartSummary(json.summary);
|
updateCartSummary(json.summary);
|
||||||
updateAddressesDisplay(true);
|
updateAddressesDisplay(true);
|
||||||
updateCarrierList(json.carrier_data);
|
updateCarrierList(json.carrier_data);
|
||||||
|
|||||||
Reference in New Issue
Block a user