@if (Session::get('list_view') == 'list')
{{ $products->links() }}
-
@foreach ($products as $key => $product)
@livewire('front-end.product.item-list' , ['product' => $product], key($loop->index))
@endforeach
-
@foreach ($products as $key => $product)
- @livewire('front-end.product.item-inner' , ['product' => $product], key($loop->index)) @endforeach