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/topswtw.komma.pro/app/views/mobile/pages/products.blade.php
@extends('mobile.master')

@section('content')

    <div class="products-overview mobile-page">

        <div class="return-button">

            @if(isset($brand->parent))
                <a href="/{{$brand->parent->route}}">
                    {{$brand->parent->name}}
                </a>
            @else
                <a href="/{{$shop->getPageService()->page('brands')->route}}">
                    @lang('mobile.back_to_brands_overview')
                </a>
            @endif

        </div>

        {{--Title--}}
        <h1>{{ $brand->name }}</h1>



        {{--No products text --}}
        @if (empty($products))
            <article class="text-block">
                <p>{{ Lang::get('pages/products.no_products_found_in_category')}}</p>
            </article>
        @endif

        {{--Product list--}}
        <section class="products-list">
            @foreach($products as $product)
                @include('mobile/partials/products/productListItem')

                @if($product == $products[0])
                    {{--Show Discount message after the first item--}} 
                    <div class="discount-message">
                        <span></span>
                        <p>
                            @lang('mobile.discountMessage')
                        </p>
                    </div>

                @endif
            @endforeach
        </section>
    </div>
@stop