This commit is contained in:
merdan 2022-08-29 20:19:42 +05:00
parent 75046e4e6b
commit ff6e0c71c3
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' => $this->price,//(double) core()->convertPrice($productTypeInstance->getMinimalPrice()),
'min_price' => $this->min_price,
// 'formatted_price' => core()->currency($productTypeInstance->getMinimalPrice()),
//// 'short_description' => $product->short_description,