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/SBogers10/helder.komma.pro/resources/views/shop/partials/itemsGridLoop.blade.php
<div class="grid-col products">
    @foreach($products as $product)
        @if(!empty($product->translation->slug))
            <div class="product">
                <a href="/{{$parentlink}}/{{$product->translation->slug}}">
                    <div class="img-holder" style="
                    @if(count($product->images) > 0)
                            background-image: url('{{$product->images[0]->medium_image_url}}')
                    @else
                            background-color: #eeeeee;
                    @endif
                            ">
                    </div>
                    {{--<h3>@lang('shop/products.product_code'): {{ $product->stock_keeping_unit }}</h3>--}}
                    <h3>ARTIKELCODE: {{ $product->stock_keeping_unit }}</h3>
                    <h4>{{ $product->title }}</h4>
                    <p>
                        @if(!\Auth::check())
                            Prijs enkel zichtbaar voor klanten
                        @else
                            {{$product->price}}
                        @endif
                    </p>
                </a>
            </div>
        @endif
    @endforeach
</div>