aa
This commit is contained in:
@@ -1030,7 +1030,7 @@ class ArticleFormatter
|
|||||||
'quantity' => $quantity,
|
'quantity' => $quantity,
|
||||||
'price' => $price,
|
'price' => $price,
|
||||||
'color' => $quantity <= 0 ? 'red' : 'green',
|
'color' => $quantity <= 0 ? 'red' : 'green',
|
||||||
'permalink' => $product['permalink']
|
'permalink' => isset($product['permalink']) ? $product['permalink'] : ''
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user