From 0940c1751d29e3530c3c7631b52a2019a42d3a49 Mon Sep 17 00:00:00 2001 From: Afaz Khatri Date: Fri, 9 Oct 2020 20:23:03 +0530 Subject: [PATCH] Updated formated_regular_price key --- packages/Webkul/API/Http/Resources/Catalog/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Webkul/API/Http/Resources/Catalog/Product.php b/packages/Webkul/API/Http/Resources/Catalog/Product.php index 3414aafdd..75ec94c11 100644 --- a/packages/Webkul/API/Http/Resources/Catalog/Product.php +++ b/packages/Webkul/API/Http/Resources/Catalog/Product.php @@ -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,