This commit is contained in:
paoloar77
2025-01-28 18:05:50 +01:00
parent 71fa796487
commit b847537416

View File

@@ -999,6 +999,7 @@ class ArticleFormatter
private static function getStockInfo($product) private static function getStockInfo($product)
{ {
try { try {
$quantity = 0;
if (!$product) { if (!$product) {
return [ return [
'stock_quantity' => 0, 'stock_quantity' => 0,