@extends('layouts.app') @section('title') {{$product[0]?->category?->name }} @endsection @section('head') @endsection @section('content') {{--
Sort by
@forelse ($products as $prods )
{{$prods->name }}{{$prods->name }}
-{{number_format($prods->discount,0)}}%
{{$prods->name}}
{{moneyFormat($prods->sale_price)}} {{moneyFormat($prods->price)}}
Add to Cart
@empty
No Item found
@endforelse

Categories

--}}
background

Our Products

Categories
{{ $currentCategory->name ?? 'All Products' }}
@forelse ($product as $prod)

{{ $currentCategory->name }}


{{ $prod->name }}

{{ $prod->name }}

${{ number_format($prod->price, 2) }}

{{-- View Details --}}
@empty

No products found in this category.

@endforelse
@endsection