@if($currentCategory)
@if($subCategories->count() > 0)
{{ $currentCategory->title }}
@if($currentCategory->description){{ $currentCategory->description }}
@endif @elseif(request()->filled('q'))@lang('ecommerce::ecommerce.search_results_for'): "{{ request('q') }}"
@else@lang('ecommerce::ecommerce.shop_all')
@endif@lang('ecommerce::ecommerce.all_categories')
@foreach($subCategories as $sub)
@if($sub->image)
@else @endif
{{ Str::limit($sub->title, 15) }}
@endforeach
{{--
--}}
@endif
Showing {{ $products->firstItem() ?? 0 }}-{{ $products->lastItem() ?? 0 }} of {{ $products->total() }}
@if($products->count() > 0)
@include('ecommerce::pages.partials.product-grid', compact('products'))
@else
@endif
{{-- @lang('ecommerce::ecommerce.products.no_results')
@lang('ecommerce::ecommerce.products.Try checking your spelling or use different keywords')
{{ $products->appends(request()->input())->links('pagination::bootstrap-4') }}
--}}
@if($products->hasPages())
{{ $products?->links('vendor.pagination.custom') }}