HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/farmfun/reserveren.farmfun.be/resources/views/shop/pages/products/index.blade.php
@extends('site.master')

{{--@section('title', $page->translation->meta_title)--}}
{{--@section('meta_description', $page->translation->meta_description)--}}

@section('content')
    <div class="l-main  l-contain">

        <div class="o-block">

                @if($items->count() != 0)
                @foreach($items as $item)
                    @if($item->catalogable && $item->catalogable->translation)
                        <div class="product">
                            {{-- Temp. implementation --}}
                            <a href="{{ $productWildcardIndexRoute->alias.'/'.$item->catalogable->translation->slug }}">
                                {{ !empty($item->catalogable->translation->name) ? $item->catalogable->translation->name : $item->catalogable->name }}
                            </a>
                        </div>
                    @endif
                @endforeach



                @else

                    <div class="u-text-align-center">
                        <h3 class="u-color-secondary">@lang('site/posts.no_posts')</h3>
                    </div>

                @endif


            @include('site.components.pagination.list', ['paginator' => $items])
        </div>
    </div>

@endsection