@extends('frontend.layouts.app') @section('content') @php $lang = get_system_language()->code; @endphp
@if (get_setting('home_slider_images', null, $lang) != null) @endif
@php $flash_deal = get_featured_flash_deal(); @endphp @if ($flash_deal != null)
Ends in: 00 days 00 hrs 00 min 00 sec
@endif @if (count($hot_categories) > 0)
{{ translate('Hot Categories') }}
@endif
@include('frontend.thecore.partials.featured_products')
@if (count($featured_categories) > 0)
@endif
@php $best_selling_products = get_best_selling_products(20); @endphp @if (count($best_selling_products) > 0)

{{ translate('Best Selling') }}

View All
@endif @php $todays_deal_products = get_todays_deal_products(20); @endphp @if (count($todays_deal_products) > 0)

{{ translate('Todays Deal') }}

View All
@endif
@php $homeBanner1Images = get_setting('home_banner1_images', null, $lang); @endphp @if ($homeBanner1Images != null)
@php $banner_1_imags = json_decode($homeBanner1Images); $data_md = count($banner_1_imags) >= 2 ? 2 : 1; $home_banner1_links = get_setting('home_banner1_links', null, $lang); @endphp
@endif @if (addon_is_activated('auction'))
@endif @if (get_setting('classified_product') == 1) @php $classified_products = get_home_page_classified_products(); @endphp @if (count($classified_products) > 0)

{{ translate('Classified Ads') }}

{{translate('products')}} ({{count($classified_products)}})

View All
@endif @endif @if (addon_is_activated('preorder')) @include('preorder.frontend.home_page.thecore.newest_preorder') @endif @php $homeBanner2Images = get_setting('home_banner2_images', null, $lang); $homeBanner2SmallImages = get_setting('home_banner2_sm_images', null, $lang); @endphp @if ($homeBanner2Images != null)
@php $banner_2_imags = json_decode($homeBanner2Images, true) ?? []; $banner_2_small_imags = json_decode($homeBanner2SmallImages, true) ?? []; $data_md = count($banner_2_imags) >= 2 ? 2 : 1; $data_small_md = count($banner_2_small_imags) >= 2 ? 2 : 1; $home_banner2_links = get_setting('home_banner2_links', null, $lang); @endphp
@endif
@endsection @section('script') @endsection