diff --git a/packages/Sarga/API/Http/Resources/Catalog/SizeVariant.php b/packages/Sarga/API/Http/Resources/Catalog/SizeVariant.php index 41bc165ea..af1f6c1eb 100644 --- a/packages/Sarga/API/Http/Resources/Catalog/SizeVariant.php +++ b/packages/Sarga/API/Http/Resources/Catalog/SizeVariant.php @@ -21,7 +21,7 @@ class SizeVariant extends ProductDetail 'name' => $product->name, 'size' => $flat->size ?? 0, 'size_label' => $flat->size_label ?? null, - 'status' => $flat->status, + 'status' => $flat->status ?? false, /* special price cases */ $this->merge($this->specialPriceInfo()),