@extends('layouts.frontlayout') @section('content') @if( isset($data['header_banner']['banner_is_status']) && $data['header_banner']['banner_is_status']==1) @include('frontend.homepage.slider', [ 'bannerImage' => isset($data['banner_image']) && $data['banner_image'] ? $data['banner_image'] :'', 'headerBanner' => isset($data['header_banner']) && $data['header_banner'] ? $data['header_banner'] : '', ] ) @endif @include('frontend.homepage.category', [ 'productCate' => $productCate, ] ) @if( isset($data['general_section']['general_is_status']) && $data['general_section']['general_is_status']==1) @include('frontend.homepage.happyCustomer', [ 'generalSection' =>isset($data['general_section']) && $data['general_section'] ? $data['general_section'] :'', 'generalSectionImage' =>isset($data['general_section_image']) && $data['general_section_image'] ? $data['general_section_image'] :'', 'generalSection2Image' =>isset($data['general_section_2_image']) && $data['general_section_2_image'] ? $data['general_section_2_image'] :'', 'generalSection2' =>isset($data['general_section_2']) && $data['general_section_2'] ? $data['general_section_2'] :'', 'generalSection3Image' =>isset($data['general_section_3_image']) && $data['general_section_3_image'] ? $data['general_section_3_image'] :'', 'generalSection3' =>isset($data['general_section_3']) && $data['general_section_3'] ? $data['general_section_3'] :'', ] ) @endif @if(isset($trendingProduct) && $trendingProduct && count($trendingProduct) > 0) @if( isset($data['trending_collection']['trending_is_status']) && $data['trending_collection']['trending_is_status']== 1) @include('frontend.homepage.trendingNow', [ 'trendingProduct' => isset($trendingProduct) && $trendingProduct ? $trendingProduct : [], 'trendingCollection' => isset($data['trending_collection']) && $data['trending_collection'] ? $data['trending_collection'] : '', 'settingsData' => isset($settingsData) && $settingsData ? $settingsData : null, ] ) @endif @endif @if(isset($newArrivalProducts) && $newArrivalProducts && count($newArrivalProducts) > 0) @if(isset($data['new_arrivals']['new_arrivals_status']) && $data['new_arrivals']['new_arrivals_status'] == 1) @include('frontend.homepage.newArrival', [ 'newArrivalProducts' => isset($newArrivalProducts) && $newArrivalProducts ? $newArrivalProducts : [], 'newArrivalContent' => isset($data['new_arrivals']) && $data['new_arrivals'] ? $data['new_arrivals'] : '', 'settingsData' => isset($settingsData) && $settingsData ? $settingsData : null, ] ) @endif @endif @if(isset($bestSellerProduct) && $bestSellerProduct && count($bestSellerProduct) > 0) @if( isset($data['best_seller']['best_seller_is_status']) && $data['best_seller']['best_seller_is_status'] == 1) @include('frontend.homepage.bestSeller', [ 'bestSellerProduct' => isset($bestSellerProduct) && $bestSellerProduct ? $bestSellerProduct : [], 'bestSellerHeading' => isset($data['best_seller']) && $data['best_seller'] ? $data['best_seller'] : '', 'settingsData' => isset($settingsData) && $settingsData ? $settingsData : null, ] ) @endif @endif @if(isset($bridalSet) && $bridalSet && count($bridalSet) > 0) @if(isset($data['bridal_set']['bridal_set_status']) && $data['bridal_set']['bridal_set_status'] == 1) @include('frontend.homepage.bridalSet', [ 'bridalSet' => isset($bridalSet) && $bridalSet ? $bridalSet : [], 'bridalContent' => isset($data['bridal_set']) && $data['bridal_set'] ? $data['bridal_set'] : '', 'settingsData' => isset($settingsData) && $settingsData ? $settingsData : null, ] ) @endif @endif @if(isset($restockProduct) && $restockProduct && count($restockProduct) > 0) @if(isset($data['restock_product']['restock_product_is_status']) && $data['restock_product']['restock_product_is_status'] == 1) @include('frontend.homepage.restockProduct', [ 'restockProduct' => isset($restockProduct) && $restockProduct ? $restockProduct : [], 'restockProductContent' => isset($data['restock_product']) && $data['restock_product'] ? $data['restock_product'] : '', 'settingsData' => isset($settingsData) && $settingsData ? $settingsData : null, ] ) @endif @endif @if( isset($data['offer_banner_section']['general_is_status']) && $data['offer_banner_section']['general_is_status'] == 1) @include('frontend.homepage.sale', [ 'offerbannerImage' => isset($data['offer_banner_section_image']) && $data['offer_banner_section_image'] ? $data['offer_banner_section_image'] :'', 'offerbannersection' => isset($data['offer_banner_section']) && $data['offer_banner_section'] ? $data['offer_banner_section'] : '', ] ) @endif @if( isset($data['blog_section']['trending_is_status']) && $data['blog_section']['trending_is_status'] == 1) @include('frontend.homepage.blog', [ 'blog' =>$blog, 'blogSection' => isset($data['blog_section']) && $data['blog_section'] ? $data['blog_section'] : '', ] ) @endif @if( isset($data['testimonial_section']['trending_is_status']) && $data['testimonial_section']['trending_is_status'] == 1) @include('frontend.homepage.testimonial', [ 'testimonials'=>$testimonials, 'testimonialSection' => isset($data['testimonial_section']) && $data['testimonial_section'] ? $data['testimonial_section'] : '', ] ) @endif @if( isset($data['bottom_banner_section']['general_is_status']) && $data['bottom_banner_section']['general_is_status'] == 1) @include('frontend.homepage.specialDay', [ 'bottombannersectionimage' => isset($data['bottom_banner_section_image']) && $data['bottom_banner_section_image'] ? $data['bottom_banner_section_image'] : '', 'bottombannersection' => isset($data['bottom_banner_section']) && $data['bottom_banner_section'] ? $data['bottom_banner_section'] : '', ] ) @endif @if(isset($data['new_arrivals']['new_arrivals_status']) && $data['new_arrivals']['new_arrivals_status'] == 1) @endif @endsection