@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(config('shop.shop_compare') || config('shop.shop_wishlist'))
@if(config('shop.shop_wishlist')) @endif @if(config('shop.shop_compare')) @endif
@endif
@if($uniqueCategories->count())

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

@if($p->stock_qty > 0 && $p->purchasable == true)
@if($p->price > 0) {{ __("product.printed") }}: {{ priceView($p->price, true) }} @endif @if($p->price > 0 && $p->price_ebooks > 0)
@endif @if($p->price_ebooks > 0) {{ __("product.digital") }}: {{ priceView($p->price_ebooks, true) }} @endif
@else
@if($p->price_ebooks > 0) {{ __("product.digital") }}: {{ priceView($p->price_ebooks, true) }} @endif
@endif
@endif
@endforeach
    @if(isset($query)) {{ $products->appends($query)->onEachSide(1)->links() }} @else {{ $products->onEachSide(1)->links('vendor.livewire.bootstrap') }} @endif
@section('extraJs') @endsection