diff --git a/backend/app/Http/Resources/ProductResource.php b/backend/app/Http/Resources/ProductResource.php index 5bfa167..7c04dd6 100644 --- a/backend/app/Http/Resources/ProductResource.php +++ b/backend/app/Http/Resources/ProductResource.php @@ -24,6 +24,7 @@ class ProductResource extends JsonResource 'sku' => $this->resource->sku, 'short_description' => $this->resource->short_description, 'description' => $this->resource->description, + 'thumbnail_url' => $this->resource->thumbnail_path ?? null, 'price' => $this->resource->price, 'stock_quantity' => $this->resource->stock_quantity, 'active' => $this->resource->active,