aa
This commit is contained in:
@@ -1013,7 +1013,6 @@ class ArticleFormatter
|
|||||||
$quantity = intval($product['stock_quantity']);
|
$quantity = intval($product['stock_quantity']);
|
||||||
}
|
}
|
||||||
|
|
||||||
$price = '0';
|
|
||||||
if (isset($product['price'])) {
|
if (isset($product['price'])) {
|
||||||
$price = $product['price'];
|
$price = $product['price'];
|
||||||
}
|
}
|
||||||
@@ -1021,8 +1020,8 @@ class ArticleFormatter
|
|||||||
$price = $product['sale_price'];
|
$price = $product['sale_price'];
|
||||||
}
|
}
|
||||||
|
|
||||||
} catch (e) {
|
} catch (Exception $e) {
|
||||||
|
echo $e->getMessage();
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
|||||||
Reference in New Issue
Block a user