Filter
Showing Products {{ $products->firstItem() ? $products->firstItem() : 0 }}-{{ $products->lastItem() ? $products->lastItem() : 0 }} of {{ $products->total() }} Result @if(request('q')) for "{{ request('q') }}" @endif
@if(request()->anyFilled(['category', 'brands', 'price_ranges', 'colors', 'q']))
Active Filters:
@if(request('category') && request('category') !== 'all') @php $activeCategory = $categories->firstWhere('id', request('category')); @endphp @if($activeCategory) Category: {{ $activeCategory->title }} × @endif @endif @if(request('brands')) @foreach(request('brands') as $brand) Brand: {{ $brand }} × @endforeach @endif @if(request('q')) Search: "{{ request('q') }}" × @endif Clear All
@endif