@extends('layouts.app') @section('title', 'Shop Sarees Catalogue | Saree Store') @section('content') @include('layouts.breadcrumb', [ 'title' => 'Saree Collection', 'crumbs' => [ ['name' => 'Home', 'url' => route('home')], ['name' => 'Shop Sarees', 'url' => null] ] ])
Search Catalogue
@if(request('category')) @endif @if(request('brand')) @endif @if(request('sort')) @endif
Categories
@if(request('category')) Clear @endif
Weave Brands
@if(request('brand')) Clear @endif
@if(request()->hasAny(['search', 'category', 'brand', 'sort'])) @endif
Showing {{ $products->firstItem() ?? 0 }}–{{ $products->lastItem() ?? 0 }} of {{ $products->total() }} sarees
Sort By:
@if(request('category')) @endif @if(request('brand')) @endif @if(request('search')) @endif
@forelse($products as $prod)
₹{{ number_format($prod->sale_price ?: $prod->price, 2) }} @if($prod->sale_price && $prod->sale_price < $prod->price) {{ round((($prod->price - $prod->sale_price) / $prod->price) * 100) }}% Off @endif
{{ $prod->name }}
@auth('web')
@csrf
@csrf
@else @endauth

{{ $prod->name }}

{{ $prod->categoryModel->name ?? ($prod->category ?: 'Saree Collection') }}
@empty
No sarees match your filter criteria

Try clearing your search query or selecting a different category filter.

View All Sarees
@endforelse
{{ $products->appends(request()->query())->links('admin.partials.pagination') }}
@endsection