{{-- Sidebar (collapsible on mobile, sticky on desktop) --}}

{{ $pageData['title'] ?? 'Product' }}

{{ $pageData['name'] ?? 'PRODUCT' }}

@php $filterParts = []; if (!empty($selectedCategoryName)) { $filterParts[] = __('field.products.category_prefix') . ': ' . $selectedCategoryName; } if (!empty($selectedBrandNames)) { $filterParts[] = __('field.products.brand_prefix') . ': ' . implode(', ', $selectedBrandNames); } $filterLabel = empty($filterParts) ? __('field.products.all_product') : implode(' | ', $filterParts); @endphp [{{ $filterLabel }}]

{{ $pageData['desc'] ?? __('field.products.looking_for') }}

@foreach ($products as $product) @php $brand = trim($product['brand'] ?? ''); $category = $product['category'] ?? ''; $categoryLabel = trim(($brand ? $brand . ' / ' : '') . $category, ' /'); $title = $product['title'] ?? ''; $images = $product['images'] ?? []; $videoEmbedUrl = $product['video_embed_url'] ?? null; $coverImage = $product['cover'] ?? null; $productLink = trim((string) ($product['link'] ?? '')); @endphp @endforeach
@if ($products->isNotEmpty())
@endif