@extends('partial.layout') @section('content')

محصولات @if (Request::is('brand/*')) برند {{$brand->title}} @elseif(Request::is('category/*')) دسته بندی {{$category->title}} @endif

فیلتر ها

    @php $selectedCategories = (array) request('category_id'); @endphp
    @foreach($categories as $cat)
  • id, $selectedCategories) ? 'checked' : '' }}>
  • @endforeach

    @foreach($karats as $karat)
  • id ? 'checked' : '' }}>
  • @endforeach

    @foreach($colors as $color)
  • id ? 'checked' : '' }}>
  • @endforeach
@if(!Request::is('brand/*'))

    @foreach($brands as $brand)
  • id ? 'checked' : '' }}>
  • @endforeach
@endif

    @foreach($productUsages as $usage)
  • id ? 'checked' : '' }}>
  • @endforeach

از ریال
تا ریال

از گرم
تا گرم
مرتب سازی بر اساس
@php $currentQuery = request()->query(); // Remove the 'page' parameter for sort links unset($currentQuery['page']); $currentQuery['sort'] = 'newest'; @endphp جدید ترین @php $currentQuery = request()->query(); // Remove the 'page' parameter for sort links unset($currentQuery['page']); $currentQuery['sort'] = 'cheapest'; @endphp ارزانترین @php $currentQuery = request()->query(); // Remove the 'page' parameter for sort links unset($currentQuery['page']); $currentQuery['sort'] = 'expensive'; @endphp گرانترین @php $currentQuery = request()->query(); // Remove the 'page' parameter for sort links unset($currentQuery['page']); $currentQuery['sort'] = 'popular'; @endphp پر بازدیدترین @php $currentQuery = request()->query(); // Remove the 'page' parameter for sort links unset($currentQuery['page']); $currentQuery['sort'] = 'bestseller'; @endphp پرفروش ترین

{{ $products->total() }} کالا

@foreach($products as $productItem)
@endforeach
{!! $products->appends(request()->query())->links('vendor.pagination.default') !!}
@if(isset($category))

{{$category->title}}

{!! $category->description !!}
{{$category->title}}
@endif
@endsection @push('scripts') @endpush