feat: rename featured_variants to group_items and update related references

This commit is contained in:
2026-07-17 14:31:05 -03:00
parent 84c9fa4c9d
commit 615eacea91
8 changed files with 40 additions and 18 deletions

View File

@@ -15,7 +15,7 @@ class FeaturedGroupResource extends JsonResource
'group_name' => $this->group_name,
'product_layout' => $this->product_layout,
'group_order' => $this->group_order,
'featured_variants' => FeaturedVariantResource::collection($this->whenLoaded('featuredVariants')),
'featured_variants' => FeaturedVariantResource::collection($this->whenLoaded('groupItems')),
];
}
}