@extends('frontend.layout.applayout') @section('title', 'Products') @section('main-content')

Shop by category

Product Filters
@if ($products->isEmpty())
No products available.
@else @foreach ($products as $product) {{-- @php $default_variant = $product->variants->first(); @endphp --}}
@if (count($product->images)) @else @endif @if (Auth::guard('customer')->check())

Price

${{ number_format($product->price ?? 0, 2) }}
@endif
@endforeach @endif
{{ $products->links('pagination::bootstrap-5') }}
@push('scripts') @endpush @endsection