@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)
@if (count($product->images)) @else @endif
Brand: {{ $product->brand_name->name ?? 'N/A' }} {{ $product->name }}
@if (Auth::guard('customer')->check())

Price

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