// Add id_shop

This commit is contained in:
mDeflotte
2011-12-20 16:58:27 +00:00
parent f06e16e6fd
commit 40e6d16780
+1 -1
View File
@@ -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();