[-] FO : #PSCFV-3014 - On account creation, address delivery of all cart products must be set with the user address

This commit is contained in:
mDeflotte
2012-07-04 08:35:41 +00:00
parent 0047a8080d
commit 78ec4a1883
2 changed files with 6 additions and 0 deletions
+4
View File
@@ -558,6 +558,10 @@ class AuthControllerCore extends FrontController
// If a logged guest logs in as a customer, the cart secure key was already set and needs to be updated
$this->context->cart->update();
// Avoid articles without delivery address on the cart
$this->context->cart->autosetProductAddress();
Hook::exec('actionCustomerAccountAdd', array(
'_POST' => $_POST,
'newCustomer' => $customer