From ff6e0c71c3acea84cdf6251c5951efa7700ebb1e Mon Sep 17 00:00:00 2001 From: merdan Date: Mon, 29 Aug 2022 20:19:42 +0500 Subject: [PATCH] wellknow --- 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 b4999ad12..bfcc70dfd 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/Product.php +++ b/packages/Sarga/API/Http/Resources/Catalog/Product.php @@ -40,7 +40,7 @@ class Product extends JsonResource 'type' => $product->type, 'name' => $product->name, // 'url_key' => $product->url_key, - 'price' => (double) core()->convertPrice($productTypeInstance->getMinimalPrice()), + 'price' => $this->price,//(double) core()->convertPrice($productTypeInstance->getMinimalPrice()), 'min_price' => $this->min_price, // 'formatted_price' => core()->currency($productTypeInstance->getMinimalPrice()), //// 'short_description' => $product->short_description,