menu Controller

This commit is contained in:
merdan 2022-09-21 17:20:02 +05:00
parent 6d66f245ad
commit bfb8a8fa80
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class Product extends JsonResource
), ),
'formatted_regular_price' => $this->when( 'formatted_regular_price' => $this->when(
$productTypeInstance->haveSpecialPrice(), $productTypeInstance->haveSpecialPrice(),
data_get($productTypeInstance->getMaximumPrice()) core()->currency($productTypeInstance->getMaximumPrice())
), ),
]; ];
} }