@extends(view_path('master')) @section('additional_head_tags') @endsection @section('top-search') @if(config('app.users_notif'))
{{ config('app.users_notif') }}
@endif @endsection @section('body') {!! place_ad('ad_728x90') !!}
@if($featured_products->count()) @endif @if($newest_products->count())
@foreach($newest_products as $newest_product) cover}") }})" data-detail="{{ json_encode($newest_product) }}"> @endforeach
@endif @if($trending_products->count()) @endif @if($flash_products->count())
@foreach($flash_products as $flash_product)
cover}") }})">
@if(out_of_stock($flash_product))
{{ __('Out of stock') }}
@endif
{!! shorten_str($flash_product->name, 35) !!}
{{ price($flash_product->price) }}
{{ price($flash_product->promotional_price) }}
@if(!out_of_stock($flash_product))
@endif
@endforeach
@endif @if($free_products->count())
@cards('item-card', $free_products, 'item', ['category' => 1, 'sales' => 0, 'rating' => 1])
@endif @if(config('app.blog.enabled')) @if($posts->count())
@each('components.blog-card', $posts, 'post')
@endif @endif
@endsection