@extends('layouts.frontend') @section('title', 'Products - Stitched & Unstitched Garments | Rathore Collection') @section('content') @push('styles') @endpush
Filters
@if(request('category') || request('section') || request('collection') || request('min_price') || request('max_price')) Clear All @endif
@if(request('category') || request('section') || request('collection') || request('min_price') || request('max_price'))
@if(request('category')) @php $catId = request('category'); $cat = null; foreach($categories as $category) { if($category->id == $catId) { $cat = $category; break; } foreach($category->children as $child) { if($child->id == $catId) { $cat = $child; break 2; } } } @endphp @if($cat) Category: {{ $cat->name }} × @endif @endif @if(request('section')) @php $sec = $sections->firstWhere('id', request('section')); @endphp @if($sec) Section: {{ $sec->title }} × @endif @endif @if(request('collection')) @php $col = $collections->firstWhere('id', request('collection')); @endphp @if($col) Collection: {{ $col->title }} × @endif @endif @if(request('min_price') || request('max_price')) Price: @if(request('min_price')){{ number_format(request('min_price'), 2) }}@endif @if(request('min_price') && request('max_price')) - @endif @if(request('max_price')){{ number_format(request('max_price'), 2) }}@endif × @endif
@endif
Category
@php $categoryLimit = 6; $categoryCount = 0; @endphp @foreach($categories as $category)
id ? 'checked' : '' }}>
@if($category->children->count() > 0) @endif
@if($category->children->count() > 0)
@foreach($category->children as $child)
id ? 'checked' : '' }}>
@endforeach
@endif
@php $categoryCount++; @endphp @endforeach @if($categoryCount > $categoryLimit) @endif
@if($sections->count() > 0)
Section
@foreach($sections as $section)
id ? 'checked' : '' }}>
@endforeach
@endif @if($collections->count() > 0)
Collection
@foreach($collections as $collection)
id ? 'checked' : '' }}>
@endforeach
@endif
Price Range
-
Sort By
Filters
Filters
@if(request('category') || request('section') || request('collection') || request('min_price') || request('max_price')) Clear All @endif
@if(request('category') || request('section') || request('collection') || request('min_price') || request('max_price'))
@if(request('category')) @php $catId = request('category'); $cat = null; foreach($categories as $category) { if($category->id == $catId) { $cat = $category; break; } foreach($category->children as $child) { if($child->id == $catId) { $cat = $child; break 2; } } } @endphp @if($cat) Category: {{ $cat->name }} × @endif @endif @if(request('section')) @php $sec = $sections->firstWhere('id', request('section')); @endphp @if($sec) Section: {{ $sec->title }} × @endif @endif @if(request('collection')) @php $col = $collections->firstWhere('id', request('collection')); @endphp @if($col) Collection: {{ $col->title }} × @endif @endif @if(request('min_price') || request('max_price')) Price: @if(request('min_price'))${{ number_format(request('min_price'), 2) }}@endif @if(request('min_price') && request('max_price')) - @endif @if(request('max_price'))${{ number_format(request('max_price'), 2) }}@endif × @endif
@endif
Category
@php $categoryLimit = 6; $categoryCount = 0; @endphp @foreach($categories as $category)
id ? 'checked' : '' }}>
@if($category->children->count() > 0) @endif
@if($category->children->count() > 0)
@foreach($category->children as $child)
id ? 'checked' : '' }}>
@endforeach
@endif
@php $categoryCount++; @endphp @endforeach @if($categoryCount > $categoryLimit) @endif
@if($sections->count() > 0)
Section
@foreach($sections as $section)
id ? 'checked' : '' }}>
@endforeach
@endif @if($collections->count() > 0)
Collection
@foreach($collections as $collection)
id ? 'checked' : '' }}>
@endforeach
@endif
Price Range
-
Sort By

Products

{{ $products->total() }} products found
@forelse($products as $product)
@include('frontend.components.product-card', ['product' => $product])
@empty

No products found at Rathore Collection.

Try adjusting your filters to discover our premium stitched and unstitched garments for men, women, and children.

@endforelse
{{ $products->links() }}
@push('scripts') @endpush @endsection