@php Theme::layout('full-width'); $layout = $layout ?? 'grid'; @endphp {!! Theme::partial('page-header') !!} request()->input('layout') === 'grid']) data-layout="grid" href="#"> request()->input('layout') === 'list']) data-layout="list" href="#"> {!! Theme::partial('ecommerce.product-count', compact('products')) !!} {{ __('Sort by') }}: @foreach(EcommerceHelper::getSortParams() as $key => $value) input('sort-by') === $key)>{{ $value }} @endforeach @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
{{ __('No products found!') }}