updated changes
This commit is contained in:
@@ -391,8 +391,9 @@ 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)Address::getFirstCustomerAddressId($cart->id_customer);;
|
||||
$cart->id_address_invoice = (int)Address::getFirstCustomerAddressId($cart->id_customer);
|
||||
} else {
|
||||
$cart->id_address_delivery = 0;
|
||||
$cart->id_address_invoice = 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user