Showing {{ $products->count() }} of {{ $products->total() }} products
@if($products->count() > 0)
@foreach($products as $product)
@if($product->images->count() > 0) {{ $product->name }} @else @endif @if($product->sale_price && $product->sale_price < $product->price) @php $discount = round((($product->price - $product->sale_price) / $product->price) * 100); @endphp -{{ $discount }}% @endif
{{ $product->category->name ?? 'Uncategorized' }}

{{ $product->name }}

@if($product->sale_price && $product->sale_price < $product->price) KSh {{ number_format($product->sale_price) }} KSh {{ number_format($product->price) }} @else KSh {{ number_format($product->price) }} @endif
@auth
@csrf
@else Add to Cart @endauth
@endforeach
@if($products->hasPages())
{{ $products->withQueryString()->links() }}
@endif @else

No Products Found

We couldn't find any products matching your criteria.

View All Products
@endif