@extends('store.layouts.app') @section('title', 'Products') @section('meta_description', 'All products – ' . ($store_name ?? config('app.name'))) @section('content')

All Products

@if(request('search'))

Results for "{{ request('search') }}"

@endif
{{-- Filters & Sort Bar --}}
Sort by:
@if(request('search'))@endif @if(request('category_id'))@endif @if(request('featured'))@endif
{{ $products->total() }} products found
@if($products->isEmpty())

No products found

Try adjusting your search or filters.

View All Products
@else
@foreach($products as $product) @include('store.components.product-card', ['product' => $product]) @endforeach
{{ $products->withQueryString()->links() }}
@endif
@endsection