aa
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user