@version(2) @load('css/shop.css')
@include('_currency') @if (($shop_config->show_shop_nav ?? 'Y') !== 'N') {{ $lang->shop_my_orders }} {{ $lang->shop_cart }} @if ($cart_count > 0){{ $cart_count }}@endif @endif
@if (($shop_config->category_layout ?? 'top') !== 'side' && count($shop_categories ?? [])) @endif @if (count($home_banners))
@if (count($home_banners) > 1)
@foreach ($home_banners as $shp_di => $shp_dv) @endforeach
@endif
@endif @php $shp_main_promos = array_values(array_filter($home_promotions ?? [], function($pm) { return ($pm->banner_data['main'] ?? 'N') === 'Y' && !empty($pm->banner_data['logo']); })); @endphp @if (count($shp_main_promos)) @endif @php $ss_tiles = array_values(array_filter($shop_categories ?? [], function($c) { return (int)($c->depth ?? 0) === 0; })); $ss_icon_map = []; foreach (array_values((array)($layout_info->cat_icons ?? [])) as $ss_ic) { $ss_ic = (array)$ss_ic; $ss_ic_key = trim((string)($ss_ic['cat_title'] ?? '')); if ($ss_ic_key !== '') { $ss_icon_map[$ss_ic_key] = $ss_ic; } } @endphp @if (count($ss_tiles)) @endif @php $shp_side_cats = ($shop_config->category_layout ?? 'top') === 'side' && count($shop_categories ?? []); @endphp
@if ($shp_side_cats) @include('_sidecats') @endif
@if (count($home_promotions ?? []))

{{ $lang->shop_promotions }}

@endif @foreach ($home_sections as $section)

{{ $section->title }}

{{ $lang->shop_view_all }}
@endforeach