diff --git a/classes/Cart.php b/classes/Cart.php index 93df46400..8fd74d1f2 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -292,7 +292,7 @@ class CartCore extends ObjectModel if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice') $address_id = (int)$cart->id_address_invoice; else - $address_id = (int)$product->id_address_delivery; // Get delivery address of the product from the cart + $address_id = (int)$product['id_address_delivery']; // Get delivery address of the product from the cart if (!Address::addressExists($address_id)) $address_id = null;