@php
$totalProducts = $products instanceof Illuminate\Pagination\LengthAwarePaginator ? $products->total() : $products->count();
$currentCount = $products->count();
@endphp
@lang('ecommerce::ecommerce.sort_by_label')
@lang('ecommerce::ecommerce.showing_products_count', ['count' => $currentCount, 'total' => $totalProducts])
@if($products->count() > 0)
@lang('ecommerce::ecommerce.no_products_title')
@lang('ecommerce::ecommerce.no_products_desc')
@endif