@foreach ($products as $product)
{{ $product->title }} @if (Auth::check() && !Auth::user()->is_restricted())
{!! csrf_field() !!}
@endif

{{ $product->subcategory ? $product->subcategory->title : '' }}
{{ $product->title }}

@if (Auth::check() && !Auth::user()->is_restricted())
{!! csrf_field() !!} @if ($product->variants->count())
@else @endif
@endif
@if (($loop->index + 1) % 3 == 0)
@endif @if (($loop->index + 1) % 2 == 0)
@endif @endforeach @if(isset($pagination) && $pagination)
{{ $product_count }} Products found @if($page_first) « @else « @endif @if($page_prev) ‹ @else ‹ @endif @foreach ($page_numbers as $page_number) @if($page_number == $page) {{ $page_number }} @else {{ $page_number }} @endif @endforeach @if($page_next) › @else › @endif @if($page_last) » @else » @endif
@endif @if(isset($product_count)) @endif