@if(!isset($details))

{!!__('home.show.1')!!} {{ $products->firstItem() }} - {{ $products->lastItem() }} {!!__('home.show.2')!!} {{$products->total()}} {!!__('home.show.3')!!}

@else

{!!__('home.show.1')!!} {{ $products->firstItem() }} - {{ $products->lastItem() }} {!!__('home.show.2')!!} {{$products->total()}} {!!__('home.show.3')!!}

@endif
@foreach ($products as $p)
@if($uniqueCategories->count())
Categoria: {{ucFirst(productDetails($p->id)['name'])}}
Codice articolo: {{__($p->item_code)}}

{{__($p->item_name)}}

@if($p->stock_qty > 0 && $p->purchasable == true)
€ {{ priceView($p->price) }} {{-- $32.8--}}
@else @endif
@endif
@endforeach
    @if(isset($query)) {{ $products->appends($query)->onEachSide(1)->links() }} @else {{ $products->onEachSide(1)->links('vendor.livewire.bootstrap') }} @endif
@section('extraJs') @endsection