menu Controller

This commit is contained in:
merdan 2022-09-22 13:31:38 +05:00
parent 31e61f0417
commit b3268d162e
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Product extends JsonResource
*/
private function specialPriceInfo()
{
$product = $this->type == 'configurable' ? $product->getTypeInstance()->getMinPriceVariant()->product : $this->product;
$product = $this->type == 'configurable' ? $this->product->getTypeInstance()->getMinPriceVariant()->product : $this->product;
$typeInstance = $product->getTypeInstance();