{{translate('Filter')}}

{{translate('Category')}}

    @php $filterCategories = Cache::remember(App\Enums\Settings\CacheKey::ALL_CATEGORIES->value,24 * 60, fn() => App\Models\Category::with(['houseProduct'])->whereHas('physicalProduct')->where('status', '1') ->withCount(['parent','product','houseProduct','digitalProduct','physicalProduct']) ->whereNull('parent_id') ->orderBy('serial', 'ASC') ->with(['physicalProduct'])->get()); $filterBrands = Cache::remember(App\Enums\Settings\CacheKey::ALL_BRANDS->value,24 * 60, fn() => App\Models\Brand::with(['product','houseProduct']) ->withCount('product')->where('status', '1') ->orderBy('serial', 'ASC') ->get()); @endphp @forelse($filterCategories as $category)
  • {{@get_translation($category->name)}}
    {{ $category->houseProduct->count() }}
  • @empty
  • @include("frontend.partials.empty",['message' => 'No Data Found'])
  • @endforelse

{{translate("Filter By Price")}}

@php $search_min = request()->input('search_min') ? request()->input('search_min') : ((short_amount(site_settings('search_min',0),false,false))); $search_max = request()->input('search_max') ? request()->input('search_max') : ((short_amount(site_settings('search_max',0),false,false))); @endphp
{{translate('to')}}
{{translate('Brands')}}
@push('scriptpush') @endpush