@extends('layouts.public') @section('title', 'Shop — KalaRhea') @section('breadcrumb') {{ __('Home') }} > {{ __('Shop') }} @endsection @section('content')
{{-- SIDEBAR FILTER --}} {{-- CONTENT --}}
@foreach((array) request('category', []) as $cv) @if($cv) @endif @endforeach @foreach((array) request('size', []) as $sv) @if($sv) @endif @endforeach @foreach((array) request('color', []) as $cv) @if($cv) @endif @endforeach @if(request('sort')) @endif
@foreach((array) request('category', []) as $cv) @if($cv) @endif @endforeach @foreach((array) request('size', []) as $sv) @if($sv) @endif @endforeach @foreach((array) request('color', []) as $cv) @if($cv) @endif @endforeach @if(request('q')) @endif {{ __('Sort by:') }}
@if($products->count() === 0)

@if(request('q')) {{ __('No products found for ":query".', ['query' => request('q')]) }} @else {{ __('No matching products.') }} @endif

@else
@foreach($products as $p) @include('shop-product-card', ['p' => $p]) @endforeach

{{ __('Showing :first–:last of :total products', ['first' => $products->firstItem() ?? 0, 'last' => $products->lastItem() ?? 0, 'total' => $products->total()]) }}

@endif
@endsection @push('head') @endpush @push('scripts') @endpush