menu Controller

This commit is contained in:
merdan 2022-09-20 16:50:11 +05:00
parent a6026df462
commit a673f83a67
1 changed files with 1 additions and 1 deletions

View File

@ -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,