Updated formated_regular_price key
This commit is contained in:
parent
95cd8c6902
commit
0940c1751d
|
|
@ -59,7 +59,7 @@ class Product extends JsonResource
|
|||
core()->currency($product->getTypeInstance()->getSpecialPrice())
|
||||
),
|
||||
'regular_price' => data_get($prices, 'regular_price.price'),
|
||||
'formatted_regular_price' => data_get($prices, 'regular_price.formated_price'),
|
||||
'formated_regular_price' => data_get($prices, 'regular_price.formated_price'),
|
||||
'reviews' => [
|
||||
'total' => $total = $this->productReviewHelper->getTotalReviews($product),
|
||||
'total_rating' => $total ? $this->productReviewHelper->getTotalRating($product) : 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue