@extends('frontend.layouts.app') @section('content') @php $campaign_section = frontend_section('campaign'); $todays_deal = frontend_section('todays-deals'); $flash_deal = frontend_section('flash-deals'); $new_arrival = frontend_section('new-arrivals'); $digital_product_section = frontend_section('digital-products'); $product_offer_section = frontend_section('product-offer'); $best_selling_section = frontend_section('best-selling-products'); $menu_category_section = frontend_section('menu-category'); $promo_banner = frontend_section('promotional-offer'); $promo_second_banner = frontend_section('promotional-offer-2'); $top_category = frontend_section('top-category'); $top_product_section = frontend_section('top-products'); $best_shops_section = frontend_section('best-shops'); $top_brands_sections = frontend_section('top-brands'); $trending_sections = frontend_section('trending-products'); $service_sections = frontend_section('service-section'); $testimonial = frontend_section('testimonial'); @endphp @include('frontend.section.banner') @includeWhen($service_sections->status == '1', 'frontend.section.service_section', ['service_sections' => $service_sections]) @includeWhen($todays_deal->status == '1', 'frontend.section.today_deals', ['todays_deal' => $todays_deal]) @includeWhen($top_category->status == '1', 'frontend.section.top_category', ['top_category' => $top_category]) @includeWhen($campaign_section->status == '1', 'frontend.section.campaigns', ['campaigns' => $campaigns]) @includeWhen($flash_deal->status == '1', 'frontend.section.flash_deal', ['flash_deal' => $flash_deal]) @includeWhen($new_arrival->status == '1', 'frontend.section.new_product', ['new_arrival' => $new_arrival]) @includeWhen($digital_product_section->status == '1', 'frontend.section.digital_product', ['digital_product_section' => $digital_product_section]) @includeWhen($product_offer_section->status == '1', 'frontend.section.product_offer', ['product_offer_section' => $product_offer_section]) @includeWhen($best_selling_section->status == '1', 'frontend.section.best_selling_product', ['best_selling_section' => $best_selling_section]) @includeWhen($menu_category_section->status == '1', 'frontend.section.menu_category', ['menu_category_section' => $menu_category_section]) @includeWhen($top_product_section->status == '1', 'frontend.section.top_product', ['top_product_section' => $top_product_section]) @includeWhen($best_shops_section->status == '1', 'frontend.section.best_seller', ['best_shops_section' => $best_shops_section]) @includeWhen($top_brands_sections->status == '1', 'frontend.section.top_brand', ['top_brands_sections' => $top_brands_sections]) @includeWhen($trending_sections->status == '1', 'frontend.section.trending_product', ['trending_sections' => $trending_sections]) @includeWhen($testimonial->status == '1', 'frontend.section.testimonial', ['testimonial_section' => $testimonial])
@endsection