// Add id_shop
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11431 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+1
-1
@@ -1361,7 +1361,7 @@ class CartCore extends ObjectModel
|
|||||||
|
|
||||||
if ($stock_management_active && (int)$product['advanced_stock_management'] == 1)
|
if ($stock_management_active && (int)$product['advanced_stock_management'] == 1)
|
||||||
{
|
{
|
||||||
$warehouse_list = Warehouse::getProductWarehouseList($product['id_product'], $product['id_product_attribute']);
|
$warehouse_list = Warehouse::getProductWarehouseList($product['id_product'], $product['id_product_attribute'], $this->id_shop);
|
||||||
// Does the product is in stock ?
|
// Does the product is in stock ?
|
||||||
// If yes, get only warehouse where the product is in stock
|
// If yes, get only warehouse where the product is in stock
|
||||||
$warehouse_in_stock = array();
|
$warehouse_in_stock = array();
|
||||||
|
|||||||
Reference in New Issue
Block a user