@php $zoneQuery = array_filter(['zone' => $selectedZone?->slug ?? null, 'service' => $selectedService ?? null]); $visibleCategories = collect($subcategories ?? $categories ?? [])->take(10); $activeFilters = $activeFilters ?? ['sort' => 'latest', 'category' => '', 'min_rating' => 0, 'offers' => false, 'open' => false]; $productCount = $products && method_exists($products, 'total') ? $products->total() : ($products ? $products->count() : 0); $storefrontQuery = $zoneQuery; $hasProducts = $products && $products->count() > 0; @endphp
{{-- BREADCRUMB --}} {{-- HERO HEADER --}}
{{ $searchTerm ?? null ? 'Search results' : $productCount.' items found' }}

{{ ($selectedService ?? null) === 'food' ? trans_key('storefront.fallbacks.exploreCuisines') : ($heading ?? trans_key('storefront.fallbacks.catalog')) }}

{{ $subheading ?? trans_key('storefront.fallbacks.catalogSubheading') }}

View offers →
{{-- FILTER ROW --}} {{-- CATEGORY CHIPS --}} @if($visibleCategories->count())

{{ $activeRootCategory?->name ?? trans_key('storefront.fallbacks.topCategories') }}

Quickly jump into popular aisles.

@foreach($visibleCategories as $category) @php($categoryImage = \App\Support\StorefrontPresenter::categoryImage($category)) @if($categoryImage) {{ $category->name }} @else {{ \Illuminate\Support\Str::upper(\Illuminate\Support\Str::substr($category->name, 0, 1)) }} @endif {{ $category->name }} @endforeach
@endif {{-- PRODUCTS --}}

{{ $activeCategory?->name ?? trans_key('storefront.fallbacks.products') }}

{{ $productCount.' items found' }}

@if($hasProducts)
@foreach($products as $product) @include('storefront.partials.product-card', [ 'product' => $product, 'storefrontQuery' => $storefrontQuery, 'cartLookup' => $cartLookup ?? [] ]) @endforeach
@if(method_exists($products, 'links'))
{{ $products->withQueryString()->links('storefront.partials.pagination') }}
@endif @else

No products found

Try another keyword, category, or delivery location.

Back to home
@endif