From a673f83a6701973dc3d8d5a133f7d4f3012fa70b Mon Sep 17 00:00:00 2001 From: merdan Date: Tue, 20 Sep 2022 16:50:11 +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..59f3ee653 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' => $productTypeInstance->getMinimalPrice()//(double) core()->convertPrice($productTypeInstance->getMinimalPrice()), 'formatted_price' => core()->currency($productTypeInstance->getMinimalPrice()), // 'short_description' => $product->short_description,