feat(tenant): provision Desfile Pura Tendencia and extend tenant customization

- Add Desfile Pura Tendencia tenant migration with catalog, variants, event, menus and assets
- Support tenant header/footer background images
- Add configurable cart visibility
- Update tenant seeding and API resources
- Add migration and bootstrap feature tests
This commit is contained in:
2026-08-12 13:53:22 -03:00
parent 36c1c185ee
commit f50d3d0587
13 changed files with 772 additions and 0 deletions

View File

@@ -59,11 +59,14 @@ class TenantResource extends JsonResource
// 1 day
'header_logo' => $this->headerLogo?->getTemporaryUrl(1440),
'footer_logo' => $this->footerLogo?->getTemporaryUrl(1440),
'header_bg_image' => $this->headerBackgroundImage?->getTemporaryUrl(1440),
'footer_bg_image' => $this->footerBackgroundImage?->getTemporaryUrl(1440),
'search_product_layout' => $this->search_product_layout->value,
'search_group_layout' => $this->search_group_layout->value,
'search_items_per_page' => $this->search_items_per_page,
'display_categories' => $this->display_categories,
'display_seach_bar' => $this->display_seach_bar,
'display_cart' => $this->display_cart,
'social_media' => $this->whenLoaded(
'socialMedia',
fn () => $this->socialMedia