@php Theme::layout('full-width'); $layout = $layout ?? 'grid'; @endphp
{!! Theme::partial('page-header') !!}
{!! Theme::partial('ecommerce.product-count', compact('products')) !!}
{{ __('Sort by') }}:
@include(Theme::getThemeNamespace('views.ecommerce.includes.filters')) {!! dynamic_sidebar('product_list_sidebar') !!}
@if (count($products) > 0)
@foreach($products as $product)
$layout === 'list', 'col-lg-4 col-md-6' => $layout === 'grid'])> {!! Theme::partial('ecommerce.product.item-' . $layout, compact('product')) !!}
@endforeach
{!! $products->withQueryString()->links(Theme::getThemeNamespace('partials.pagination')) !!}
@else

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

@endif