// Change commentary "the the cart" for "the cart"
This commit is contained in:
1 parent
24c326e2bc
commit
9db83c8423
1 file changed
+2
-2
+2
-2
@@ -254,7 +254,7 @@ class CartCore extends ObjectModel
|
|||||||
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
||||||
$address_id = (int)$cart->id_address_invoice;
|
$address_id = (int)$cart->id_address_invoice;
|
||||||
else
|
else
|
||||||
$address_id = (int)$product->id_address_delivery; // Get delivery address of the product from the the cart
|
$address_id = (int)$product->id_address_delivery; // Get delivery address of the product from the cart
|
||||||
if (!Address::addressExists($address_id))
|
if (!Address::addressExists($address_id))
|
||||||
$address_id = null;
|
$address_id = null;
|
||||||
|
|
||||||
@@ -1292,7 +1292,7 @@ class CartCore extends ObjectModel
|
|||||||
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
if (Configuration::get('PS_TAX_ADDRESS_TYPE') == 'id_address_invoice')
|
||||||
$address_id = (int)$this->id_address_invoice;
|
$address_id = (int)$this->id_address_invoice;
|
||||||
else
|
else
|
||||||
$address_id = (int)$product['id_address_delivery']; // Get delivery address of the product from the the cart
|
$address_id = (int)$product['id_address_delivery']; // Get delivery address of the product from the cart
|
||||||
if (!Address::addressExists($address_id))
|
if (!Address::addressExists($address_id))
|
||||||
$address_id = null;
|
$address_id = null;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user