@extends('shop::layouts.master') @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; } @endphp @section('page_title') {{ isset($metaTitle) ? $metaTitle : "" }} @endsection @section('head') @if (isset($homeSEO)) @isset($metaTitle) @endisset @isset($metaDescription) @endisset @isset($metaKeywords) @endisset @endif @endsection @section('content-wrapper') {!! view_render_event('bagisto.shop.home.content.before') !!} @if (! is_null($channel->home_page_content)) {!! DbView::make($channel)->field('home_page_content')->with(['sliderData' => $sliderData])->render() !!} @else @include('shop::home.slider', ['sliderData' => $sliderData]) @include('shop::home.featured-products') @include('shop::home.new-products') @endif {{ view_render_event('bagisto.shop.home.content.after') }} @endsection