@foreach ($sliders as $slider)
@endforeach
@php
$categories = $categories['categories'];
// dd($categories);
@endphp
@if (is_array($categories) && count($categories) >= 1)
@foreach ($categories as $category)
@endforeach
@endif
{{-- end popular categories --}}
@foreach ($sections as $count_key => $row)
@if (!empty($row->product_details))
@if ($row->style == 'style_1')
{{-- remove pro-hover-3 class in all other components keep only in three --}}
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
@endphp
@endforeach
@endif
@if ($row->style == 'style_2')
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
@endphp
@endforeach
@endif
@if ($row->style == 'style_3')
@foreach ($row->product_details as $details)
@php
$component = getProductDisplayComponent($store_settings);
@endphp
@endforeach
@endif
@endif
@endforeach
{{-- offers --}}
@if (isset($offers) && count($offers) > 0)
{{-- @dd($offers); --}}
@foreach ($offers as $offer)
{{-- @foreach (array_slice($offers, 0, 3) as $offer) --}}
@endforeach
@endif
{{-- end offers --}}
{{-- marquee text --}}
@if (isset($offers) && count($offers) > 0)
@endif
{{-- end marquee text --}}
{{-- @dd($blogs_count); --}}
@foreach (array_slice($blogs, 0, 3) as $blog)
@endforeach
@if (is_array($brands['brands']) && count($brands['brands']) >= 1)
@foreach ($brands['brands'] as $brand)
@endforeach
@endif
{{-- service section --}}
{{-- end service section --}}