From ddd5dc432fbbac6555f7f7ec8ff316fb138819b0 Mon Sep 17 00:00:00 2001 From: merdan Date: Wed, 21 Sep 2022 15:35:49 +0500 Subject: [PATCH] menu Controller --- packages/Sarga/API/Http/Resources/Catalog/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/API/Http/Resources/Catalog/Product.php b/packages/Sarga/API/Http/Resources/Catalog/Product.php index 1b6ffaeee..1cc17438b 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/Product.php +++ b/packages/Sarga/API/Http/Resources/Catalog/Product.php @@ -117,7 +117,7 @@ class Product extends JsonResource ), 'regular_price' => $this->when( $productTypeInstance->haveSpecialPrice(), - (double) data_get($productTypeInstance->getProductPrices(), 'regular_price.price') + (double) core()->convertPrice(data_get($productTypeInstance->getProductPrices(), 'regular_price.price')) ), 'formatted_regular_price' => $this->when( $productTypeInstance->haveSpecialPrice(),