@extends('layouts.app') @section('title', 'Shop Parts - AutoPart') @section('content')
{{-- Page Header --}}

Shop Parts

Home Shop
{{-- Sidebar Filters --}}
@if(request('search')) @endif {{-- Categories --}}

Categories

    @foreach(['Engine Parts', 'Body Parts', 'Interior Accessories', 'Lighting', 'Wheels & Tires', 'Brakes & Rotors', 'Maintenance', 'Electrical'] as $cat)
  • {{ $cat }}
  • @endforeach
@if(request('category')) ✕ Clear category filter @endif
{{-- Brands --}}

Brands

    @foreach($brands as $brand)
  • {{ $brand }}
  • @endforeach
{{-- Promo Widget --}}

Special Offer

SAVE 20% ON BRAKES

Shop Now
{{-- Main Content --}}
{{-- Top Bar --}}

Showing {{ $products->firstItem() ?? 0 }}–{{ $products->lastItem() ?? 0 }} of {{ $products->total() }} results @if(request('category')) in {{ request('category') }} @endif @if(request('search')) for "{{ request('search') }}" @endif

Sort By:
{{-- Product Grid --}} @if($products->count() > 0)
@foreach($products as $product) @include('partials.product-card', ['product' => $product]) @endforeach
@else

No products found

Try adjusting your filters or search criteria.

@endif {{-- Pagination --}} @if($products->hasPages())
{{ $products->withQueryString()->links() }}
@endif
@endsection