@extends('web.layouts.master') @section('content') @php use Illuminate\Support\Str; @endphp
{{ __('Filter ') }}
{{ __('Filter by Price') }}
{{ __('Reset') }}

{{ __('Price') }}: {{ request('min_price', 0) }} {{ request('max_price', 67000) }}

@foreach ($conditions as $condition)
@endforeach
{{-- it is commented because , it has no functionality added --}} {{--

@php $count = 0; @endphp @foreach ($locations as $location => $countValue) @if ($location)
@php $count++; @endphp @endif @endforeach @if ($count > 15) @endif
--}}

@foreach ($brands as $brand => $count) @if ($brand)
@endif @endforeach

@foreach ($DateFilters as $label => $count)
@endforeach
{{-- Preserve other filters --}} @if (request('conditions')) @foreach (request('conditions') as $cond) @endforeach @endif @if (request('brand')) @foreach (request('brand') as $b) @endforeach @endif
@foreach ($allCategories as $category)
@endforeach
{{-- Selected category --}}
@foreach ($products as $product)
@endforeach
{{ $products->links() }}
@endsection @push('styles') @endpush @push('script') @endpush