From 7776b7af6d7be3fd24745cbec4fa01b6a3738514 Mon Sep 17 00:00:00 2001 From: mDeflotte Date: Tue, 20 Dec 2011 16:58:27 +0000 Subject: [PATCH] // Add id_shop git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11431 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Cart.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Cart.php b/classes/Cart.php index 5155c641d..57a1b82c5 100644 --- a/classes/Cart.php +++ b/classes/Cart.php @@ -1361,7 +1361,7 @@ class CartCore extends ObjectModel 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 ? // If yes, get only warehouse where the product is in stock $warehouse_in_stock = array();