@extends('layouts.front-end.app')
@section('title', $web_config['name']->value . ' ' . translate('online_Shopping') . ' | ' . $web_config['name']->value .
' ' . translate('ecommerce'))
@push('css_or_js')
@endpush
@section('content')
@php($decimalPointSettings = !empty(getWebConfig(name: 'decimal_point_settings')) ? getWebConfig(name: 'decimal_point_settings') : 0)
@include('web-views.partials._home-top-slider', ['main_banner' => $main_banner])
@include('web-views.partials._category-section-home')
@include('web-views.partials._promotion-deal', ['decimal_point_settings' => $decimalPointSettings])
@if ($flashDeal['flashDeal'] && $flashDeal['flashDealProducts'])
@include('web-views.partials._flash-deal', ['decimal_point_settings' => $decimalPointSettings])
@endif
@if ($web_config['featured_deals'] && count($web_config['featured_deals']) > 0)
{{ translate('featured_deal') }}
{{ translate('see_the_latest_deals_and_exciting_new_offers') }}!
@foreach ($web_config['featured_deals'] as $key => $product)
@include('web-views.partials._product-card-1', [
'product' => $product,
'decimal_point_settings' => $decimalPointSettings,
])
@endforeach
@endif
@if (isset($main_section_banner))
@endif
@php($businessMode = getWebConfig(name: 'business_mode'))
@if ($businessMode == 'multi' && count($topVendorsList) > 0)
@include('web-views.partials._top-sellers')
@endif
@include('web-views.partials._deal-of-the-day', [
'decimal_point_settings' => $decimalPointSettings,
])
@if ($newArrivalProducts->count() > 0)
@foreach ($newArrivalProducts as $key => $product)
@include('web-views.partials._product-card-2', [
'product' => $product,
'decimal_point_settings' => $decimalPointSettings,
])
@endforeach
@endif
@if ($bestSellProduct->count() > 0)
@include('web-views.partials._best-selling')
@endif
@if ($topRated->count() > 0)
@include('web-views.partials._top-rated')
@endif
@if (count($footer_banner) > 1)
@else
@foreach ($footer_banner as $banner)
@endforeach
@endif
@if ($web_config['brand_setting'] && $brands->count() > 0)
@foreach ($brands as $brand)
@endforeach
@endif
@if ($homeCategories->count() > 0)
@foreach ($homeCategories as $category)
@include('web-views.partials._category-wise-product', [
'decimal_point_settings' => $decimalPointSettings,
])
@endforeach
@endif
@php($companyReliability = getWebConfig(name: 'company_reliability'))
@if ($companyReliability != null)
@include('web-views.partials._company-reliability')
@endif