diff --git a/packages/Sarga/API/Http/Resources/Catalog/Product.php b/packages/Sarga/API/Http/Resources/Catalog/Product.php index c6ec9452a..24af419ac 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/Product.php +++ b/packages/Sarga/API/Http/Resources/Catalog/Product.php @@ -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();