@extends('partial.layout') @section('content')
@if(isset($searchQuery) && strlen($searchQuery) > 0)

نتایج جستجو برای "{{ $searchQuery }}"

@endif
فیلتر ها

    @php $selectedCategories = (array) request('category_id'); $parentCategories = $categories->whereNull('parent_id'); @endphp
    @foreach($parentCategories as $parentCat)
  • id, $selectedCategories) ? 'checked' : '' }}> @if($parentCat->children->count() > 0) @endif
    @if($parentCat->children->count() > 0)
      @foreach($parentCat->children as $childCat)
    • id, $selectedCategories) ? 'checked' : '' }}>
    • @endforeach
    @endif
  • @endforeach

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

    @foreach($colors as $color)
  • id ? 'checked' : '' }}>
  • @endforeach

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

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

از ریال
تا ریال
{{--
--}} {{-- --}} {{--
--}} {{--

ریال

--}} {{--
--}} {{--
--}}

از گرم
تا گرم
@if($products->count() > 0)

محصولات

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

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

@foreach($products as $product)
@endforeach
{!! $products->appends(request()->query())->links('vendor.pagination.default') !!}
@endif @if(isset($articles) && $articles->count() > 0)

مقالات و اخبار

@foreach($articles as $article)
@if($article->attachments->count() > 0) {{ $article->title }} @else @endif
{{ $article->title }}

{!! Str::limit($article->short_description, 100) !!}

@if($article->type == 'article') ادامه مطلب @elseif($article->type == 'news') ادامه مطلب @else ادامه مطلب @endif
@endforeach
{!! $articles->appends(request()->query())->links('vendor.pagination.default') !!}
@endif @if($products->count() == 0 && (!isset($articles) || $articles->count() == 0))
هیچ نتیجه‌ای برای جستجوی "{{ $searchQuery }}" یافت نشد.
@endif
@endsection @push('scripts') @endpush @push('styles') @endpush