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