@if(!empty($slider) && count($slider))
@endif
@if($banners_under_slider && $banners_under_slider->children->isNotEmpty())
@endif
@if(!empty($new_goods) && count($new_goods))
@foreach($new_goods as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif
@if(!empty($promo_goods) && count($promo_goods))
@foreach($promo_goods as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif
@if($two_banners_under_sale_goods && $two_banners_under_sale_goods->children->isNotEmpty())
@endif
@if(!empty($bestseller_goods) && count($bestseller_goods))
@foreach($bestseller_goods as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif
@if(!empty($brands) && count($brands))
@foreach($brands as $one_brand)
@endforeach
@endif
@if(isset($goods_subjects_on_main_page[0]) && !empty($first_subject_items) && count($first_subject_items))
{{ $goods_subjects_on_main_page[0]->name }}
@foreach($first_subject_items as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif
@if($banners_under_brands && $banners_under_brands->children->isNotEmpty())
@endif
@if(isset($goods_subjects_on_main_page[1]) && !empty($second_subject_items) && count($second_subject_items))
{{ $goods_subjects_on_main_page[1]->name }}
@foreach($second_subject_items as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif
@if(isset($goods_subjects_on_main_page[2]) && !empty($third_subject_items) && count($third_subject_items))
{{ $goods_subjects_on_main_page[2]->name }}
@foreach($third_subject_items as $one_goods)
@include('front.templates.goods-template')
@endforeach
@endif
@if($banners_bottom && $banners_bottom->children->isNotEmpty())
@endif
@if($meta_main_page->body)
{{ ShowLabelById(35) }}
{!! $meta_main_page->body !!}
@endif
@stop