@php
$store_settings = getStoreSettings();
// dd($store_settings);
@endphp
@foreach ($sliders as $slider)
@php
// $img = getMediaImageUrl($slider['image']);
@endphp
@endforeach
@php
$categories = $categories['categories'];
@endphp
@if (is_array($categories) && count($categories) >= 1)
@endif
@if (is_array($categories_section) && count($categories_section) >= 1)
@foreach ($categories_section as $category_section)
@php
$categories = $category_section->categories_detail;
@endphp
@endforeach
@endif
@if (is_array($brands['brands']) && count($brands['brands']) >= 1)
@foreach ($brands['brands'] as $brand)
@endforeach
@endif
@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
@if (
$web_settings['support_mode'] == 1 ||
$web_settings['shipping_mode'] == 1 ||
$web_settings['safety_security_mode'] == 1 ||
$web_settings['return_mode'] == 1)
@endif