@if(isset($advertisements->home_banner) && $advertisements->home_banner) @include('includes.bannerSlider',['BannerAds'=>$advertisements->home_banner,'type'=>'home_banner']) @endif @include('themes.theme2.includes.categoriesSlider',['categoriesTree'=>$categoriesTree]) @if(isset($dailyOfferProducts) && is_array($dailyOfferProducts) && sizeof($dailyOfferProducts) > 0) @include('includes.productsSection',['products'=>$dailyOfferProducts,'sectionName'=>'dailyDeals']) @endif @if(isset($advertisements->home_center) && $advertisements->home_center) @include('includes.sectional_banner',['sectional_banners'=>$advertisements->home_center]) @endif @if(isset($lastArrivedProducts) && is_array($lastArrivedProducts) && sizeof($lastArrivedProducts) > 0) @include('includes.productsSection',['products'=>$lastArrivedProducts,'sectionName'=>'newArrivals']) @endif @if(isset($advertisements->sectional_banners) && $advertisements->sectional_banners) @include('includes.sectional_banner',['sectional_banners'=>$advertisements->sectional_banners]) @endif @if(isset($bestSales) && is_array($bestSales) && sizeof($bestSales) > 0) @include('includes.productsSection',['products'=>$bestSales,'sectionName'=>'bestSelling']) @endif @if(isset($homeProducts) && is_array($homeProducts) && sizeof($homeProducts) > 0) @include('includes.productsSection',['products'=>$homeProducts,'sectionName'=>'homeProduct']) @endif @if(isset($advertisements->home_end) && $advertisements->home_end) @include('includes.bannerSlider',['BannerAds'=>$advertisements->home_end,'type'=>'home_end']) @endif @if(isset($advertisements->small_ads) && $advertisements->small_ads) @include('includes.smallAds',['BannerAds'=>$advertisements->small_ads,'type'=>'small_ads']) @endif @if(isset($discountProducts) && is_array($discountProducts) && sizeof($discountProducts) > 0) @include('includes.productsSection',['products'=>$discountProducts,'sectionName'=>'projectOffers']) @endif @include('themes.theme1.includes.promotionalMessagesSection',['promotional_messages'=>isset($promotional_messages) ? $promotional_messages : []]) @if(isset($testimonials) && sizeof($testimonials) > 0) @include('themes.theme1.includes.testimonialsSection',['testimonials'=>isset($testimonials) ? $testimonials : []]) @endif @if(isset($brands) && is_array($brands) && sizeof($brands) > 0) @include('includes.sponsors-swiper',['brands'=>$brands]) @endif @if(isset($advertisements->home_popup) && $advertisements->home_popup && sizeof($advertisements->home_popup) > 0) @include('includes.popupModal',['popupAdvertisement'=>$advertisements->home_popup[0] ]) @endif @if(isset($order_rating) && $order_rating && isset($order) && $order && $account->accounts_show_orders_ratings == '1') @include('includes.orderRatingModal',['order'=>$order ]) @endif