@extends('shop::layouts.master') @inject ('productRatingHelper', 'Webkul\Product\Helpers\Review') @php $channel = core()->getCurrentChannel(); $homeSEO = $channel->home_seo; if (isset($homeSEO)) { $homeSEO = json_decode($channel->home_seo); $metaTitle = $homeSEO->meta_title; $metaDescription = $homeSEO->meta_description; $metaKeywords = $homeSEO->meta_keywords; } $advertisement = $adsMetaData; $custom_titles = $velocityMetaData->titles ? json_decode($velocityMetaData->titles) : false; @endphp @push('pageTitle') {{__('shop::app.navicons.Home')}} @endpush @if (core()->isCustomTheme()) @if(in_array($channel->theme, ['muscle', 'pastry-bakery'])) @include('shop::home.themes.muscle.index') @elseif (in_array($channel->theme, ['green-land', 'pharmacies', 'medical-equipment', 'honey'])) @include('shop::home.themes.green-land.index') @else @include('shop::home.themes.sobkaha.index') @endif @else @if ($velocityMetaData['layout'] === 1) @include('shop::home.home-1') @elseif ($velocityMetaData['layout'] === 2) @include('shop::home.home-2') @elseif ($velocityMetaData['layout'] === 3) @include('shop::home.home-3') @else @include('shop::home.home-4') @endif @endif {{-- general --}} @include('shop::home.partials.flash-deal-popup')