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