This commit is contained in:
paoloar77
2025-01-28 18:04:39 +01:00
parent 1c4e577e64
commit 71fa796487

View File

@@ -1013,7 +1013,6 @@ class ArticleFormatter
$quantity = intval($product['stock_quantity']);
}
$price = '0';
if (isset($product['price'])) {
$price = $product['price'];
}
@@ -1021,8 +1020,8 @@ class ArticleFormatter
$price = $product['sale_price'];
}
} catch (e) {
} catch (Exception $e) {
echo $e->getMessage();
}
return [