@php if(isset($category)){ $title = "{$category->objectData->title} - لیست قیمت ".jdate()->format('%A, %d %B %Y'); }elseif(isset($brand)){ $title = $brand->objectData->title; } @endphp @if(isset($noIndex) && $noIndex) @push('styles') @endpush @endif @if(request()->has('s') || (request()->has('page') && request()->query('page') > 1)) @push('styles') @endpush @endif
@if(isset($category)) @elseif(isset($brand)) @elseif(request()->has('s')) @endif
@if(isDesktop())
فیلترها
اعمال فیلتر @if(isset($category))

حذف فیلترها

@elseif(request()->has('s'))

حذف فیلترها

@endif @if(!isDesktop()) @endif
فقط کالاهای موجود
@if(isset($brands) && $brands->count() > 0)
@foreach($brands as $brand)
has('brand') ? in_array($brand->id, request()->query('brand')) ? 'checked' : '' : ''}}>
@endforeach
@endif
از تومان
تا تومان
@if(isset($categoryFilters)) @foreach($categoryFilters as $f) @if(array_key_exists('items',$f) && count($f['items']) > 0)
@endif @endforeach @endif
@endif
@if(isset($category)) @endif {{-- @if(isset($category) && $category->objectData->content )--}} {{--
--}} {{--

--}} {{-- {{$category->objectData->title}}--}} {{--

--}} {{-- {!! $category->objectData->content !!}--}} {{--
--}} {{-- @elseif(isset($brand) && $brand->objectData->content)--}} {{--
--}} {{--

--}} {{-- {{$brand->objectData->title}}--}} {{--

--}} {{-- {!! $brand->objectData->content !!}--}} {{--
--}} {{-- @endif--}}
@if($products->count() > 0) @foreach($products as $product)
@if (isDesktop()) @if ($product->is_featured_sale) فروش ویژه @endif

{{ $product->objectData->title ?? 'عنوان نامشخص' }}

@if ($product->status === \App\Models\Shop\Product::STATUS_IN_STOCK && $product->quantity > 0)
@if ($product->objectData->sale_price && $product->objectData->sale_price > 0) {{ number_format($product->objectData->price) . ' تومان ' }} {{ number_format((float) (100 - (100 * $product->objectData->sale_price) / $product->objectData->price), 0) . '%' }} @else @endif
@if(!$product->isVariable) @endif {{-- --}} @if ($product->objectData->sale_price && $product->objectData->sale_price > 0) {{ number_format($product->objectData->sale_price) . ' تومان ' }} @else {{ number_format($product->objectData->price) . ' تومان ' }} @endif
@else
.
@switch($product->status) @case(\App\Models\Shop\Product::STATUS_OUT_OF_STOCK) ناموجود @break @case(\App\Models\Shop\Product::STATUS_CALL) تماس بگیرید! @break @case(\App\Models\Shop\Product::STATUS_SOON) بزودی... @break @case(\App\Models\Shop\Product::STATUS_EXPIRED) توقف تولید @break @default عدم موجودی در انبار @break @endswitch
@endif
@else @if ($product->is_featured_sale) فروش ویژه @endif

{{ $product->objectData->title ?? 'عنوان نامشخص' }}

@if ($product->status === \App\Models\Shop\Product::STATUS_IN_STOCK && $product->quantity > 0)
@if ($product->objectData->sale_price && $product->objectData->sale_price > 0) {{ number_format($product->objectData->price) . ' تومان ' }} {{ number_format((float) (100 - (100 * $product->objectData->sale_price) / $product->objectData->price), 0) . '%' }} @else . @endif
@if(!$product->isVariable) @endif {{-- --}} @if ($product->objectData->sale_price && $product->objectData->sale_price > 0) {{ number_format($product->objectData->sale_price) . ' تومان ' }} @else {{ number_format($product->objectData->price) . ' تومان ' }} @endif
@else
.
@switch($product->status) @case(\App\Models\Shop\Product::STATUS_OUT_OF_STOCK) ناموجود @break @case(\App\Models\Shop\Product::STATUS_CALL) تماس بگیرید! @break @case(\App\Models\Shop\Product::STATUS_SOON) بزودی... @break @case(\App\Models\Shop\Product::STATUS_EXPIRED) توقف تولید @break @default عدم موجودی در انبار @break @endswitch
@endif
@endif
@endforeach @else

هیچ محصولی یافت نشد

@endif
{{$products->links('components.general.pagination')}}
@if(isset($category))
{!! $category->objectData->content ??'' !!}
@endif @if(isset($faqs) && $faqs->count() > 0)

سوالات متداول

@foreach($faqs as $faq)

{{$faq->objectData->title}}

{!! strip_tags($faq->objectData->content) !!}
@endforeach
@endif
@if(isMobile()) @push('scripts') @endpush @endif @push('scripts') @endpush