{{-- title --}} @stack('pageTitle') - {{core()->getCurrentChannel()->name}} {{-- meta data --}} {!! view_render_event('bagisto.shop.layout.head') !!} {{-- for extra head data --}} @yield('head') {{-- seo meta data --}} @yield('seo') {{-- fav icon --}} @if ($favicon = core()->getCurrentChannel()->favicon_url) @else @endif {{-- all styles --}} @php $layout = $velocityMetaData->layout; @endphp @include('shop::layouts.styles') @if (isset($layout) && ($layout == 2 || $layout == 3)) @elseif (isset($layout) && ($layout == 4)) @endif {{-- --}} {{-- --}} {{-- --}} getCurrentLocale() && core()->getCurrentLocale()->direction == 'rtl') class="rtl front-store" @else class="front-store" @endif> {!! view_render_event('bagisto.shop.layout.body.before') !!} @php $selected_branch_id = core()->getCurrentBranch(); @endphp @if ((count($activateBranches) > 1 ) && !session()->has('branch_id')) @push('scripts') @endpush @endif {{-- main app --}}
@section('body-header') @if (isset($layout) && ($layout === 1 || $layout === 4)) @include('shop::layouts.header._1') @else @include('shop::layouts.header._2') @endif @show
{!! view_render_event('bagisto.shop.layout.full-content.before') !!} @yield('full-content-wrapper') @if (core()->getConfigData('store_details.settings.contact.whatsapp')) @include('shop::home.partials.whataspp-btn') @endif @if (core()->getConfigData('store_details.settings.contact.call')) @include('shop::home.partials.call-btn') @endif {!! view_render_event('bagisto.shop.layout.full-content.after') !!}
{{-- overlay loader --}}
{{-- footer --}} @section('footer') {!! view_render_event('bagisto.shop.layout.footer.before') !!} @include('shop::layouts.footer.index') {!! view_render_event('bagisto.shop.layout.footer.after') !!} @show {!! view_render_event('bagisto.shop.layout.body.after') !!} {{-- alert container --}}
{{-- all scripts --}} @include('shop::layouts.scripts') @include('shop::layouts.fonts') {{-- kamal - exceptions must handle it by another way --}} @include('shop::layouts.exceptions')