@if (theme_option('vendor_page_detail_layout') == 'list')

{!! BaseHelper::clean(__('We found :total items for you!', ['total' => '' . $products->total() . ''])) !!}

@include(Theme::getThemeNamespace('views/ecommerce/includes/sort'))
@forelse ($products as $product) @include(Theme::getThemeNamespace('views.ecommerce.includes.product-item-list'), compact('product')) @empty

{{ __('No products found!') }}

@endforelse
{!! $products->withQueryString()->links(Theme::getThemeNamespace('partials.custom-pagination')) !!} @else
@include(Theme::getThemeNamespace() . '::views.ecommerce.includes.product-items', ['products' => $products, 'perRow' => 4])
@endif