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

{{ $products->total() }} products

@foreach(request()->except('sort') as $key => $value) @endforeach
@if($products->isEmpty())

No products found.

@else
@foreach($products as $product) @include('customer.products._card', ['product' => $product]) @endforeach
@foreach($products as $product) @include('customer.products._card_list', ['product' => $product]) @endforeach
@endif
{{ $products->links() }}
@endsection