@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) @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)
{{ translate('new_arrivals') }}
@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)
{{ translate('brands') }}
@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
@endsection @push('script') @endpush