diff --git a/classes/stock/StockManager.php b/classes/stock/StockManager.php index dfd22b4db..c8118cd64 100644 --- a/classes/stock/StockManager.php +++ b/classes/stock/StockManager.php @@ -232,6 +232,7 @@ class StockManagerCore implements StockManagerInterface return $return; $stock_collection = $this->getStockCollection($id_product, $id_product_attribute, $warehouse->id); + $stock_collection->getAll(); // check if the collection is loaded if (count($stock_collection) <= 0)