{{-- Header --}}

Semua Produk

Temukan semua produk dari mitra kami

{{-- Filter chips — konsisten dengan Beranda --}}
{{-- Kategori --}} Semua @foreach ($categories as $cat) {{ $cat->name }} @endforeach
{{-- Filter harga + sort + unggulan --}}
{{-- Harga --}} Semua Harga < 50rb 50rb – 100rb > 100rb {{-- Divider visual --}} {{-- Sort --}} Terbaru Termurah Termahal {{-- Unggulan --}} Unggulan
{{-- Info filter aktif + tombol Reset --}} @php $filterLabels = []; if ($filterCategory) { $activeCat = $categories->firstWhere('slug', $filterCategory); $filterLabels[] = $activeCat?->name ?? $filterCategory; } $priceLabels = ['under50k' => 'Di bawah 50rb', '50k-100k' => '50rb – 100rb', 'above100k' => 'Di atas 100rb']; if ($filterPrice) $filterLabels[] = $priceLabels[$filterPrice] ?? $filterPrice; if ($filterFeatured === 'featured') $filterLabels[] = 'Unggulan'; $sortLabels = ['terbaru' => 'Terbaru', 'termurah' => 'Termurah', 'termahal' => 'Termahal', 'unggulan' => 'Unggulan']; if ($sortBy && $sortBy !== 'terbaru') $filterLabels[] = $sortLabels[$sortBy] ?? $sortBy; $hasActiveFilter = count($filterLabels) > 0; @endphp @if ($hasActiveFilter)

Filter: {{ implode(' • ', $filterLabels) }}

@else
@endif {{-- Loading --}}
@if ($products->isEmpty())

Produk tidak ditemukan

@else

Menampilkan {{ number_format($products->total()) }} Produk

@foreach ($products as $product) @include('livewire.store.partials.product-card', ['product' => $product]) @endforeach
{{ $products->links() }} @endif