updated changes

This commit is contained in:
Shreesh Arora
2024-08-22 15:48:07 +05:30
parent cfef224288
commit 8d2fc83bde

View File

@@ -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;
}