@extends('layouts.app') @section('title', 'Products - ' . config('app.name')) @section('content')

Shop Products

Browse our complete collection of products

Filters
@foreach($categories as $category)
id, (array)request('categories', [])) ? 'checked' : '' }}>
@endforeach
@foreach($brands as $brand)
id, (array)request('brands', [])) ? 'checked' : '' }}>
@endforeach
{{ \App\Support\Currency::symbol() }}
{{ \App\Support\Currency::symbol() }}
Reset

Showing {{ $products->count() }} of {{ $products->total() }} products

@if($products->count() > 0)
@foreach($products as $product)
{{ $product->name }} @if($product->is_featured) Featured @endif
{{ Str::limit($product->name, 40) }}

{{ $product->brand?->name ?? 'Unknown Brand' }}

{{ \App\Support\Currency::symbol() }}{{ number_format($product->price, 2) }} @if($product->isOnSale()) {{ \App\Support\Currency::symbol() }}{{ number_format($product->compare_at_price, 2) }} -{{ $product->discount_percent }}% @endif
@endforeach
{{ $products->withQueryString()->links() }}
@else
No products available
No products found

Try adjusting your filters or check back later

@endif
@endsection