update delivery address initialization
This commit is contained in:
@@ -391,7 +391,7 @@ class FrontControllerCore extends Controller
|
||||
$cart->id_shop = $this->context->shop->id;
|
||||
if ($this->context->cookie->id_customer) {
|
||||
$cart->id_customer = (int)$this->context->cookie->id_customer;
|
||||
$cart->id_address_invoice = (int)$cart->id_address_delivery;
|
||||
$cart->id_address_invoice = (int)Address::getFirstCustomerAddressId($cart->id_customer);;
|
||||
} else {
|
||||
$cart->id_address_invoice = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user