{!! Theme::header() !!} @php $headerStyle = theme_option('header_style') ?: ''; $page = Theme::get('page'); if ($page) { $headerStyle = $page->getMetaData('header_style', true) ?: $headerStyle; } $headerStyle = ($headerStyle && in_array($headerStyle, array_keys(get_layout_header_styles()))) ? $headerStyle : ''; $openBrowse = $page && $page->template == 'homepage' && $page->getMetaData('expanding_product_categories_on_the_homepage', true) == 'yes'; $cantCloseBrowse = $openBrowse && $headerStyle == 'header-style-2'; @endphp {!! apply_filters(THEME_FRONT_BODY, null) !!}
@if (theme_option('header_messages'))
    @foreach(json_decode(theme_option('header_messages'), true) as $headerMessage) @if (count($headerMessage) == 4)
  • @if ($headerMessage[0]['value']) @endif @if ($headerMessage[1]['value']) {!! clean($headerMessage[1]['value']) !!} @endif @if ($headerMessage[2]['value'] && $headerMessage[3]['value']) {!! clean($headerMessage[3]['value']) !!} @endif
  • @endif @endforeach
@endif
@php $currencies = is_plugin_active('ecommerce') ? get_all_currencies() : []; @endphp @if (is_plugin_active('ecommerce') || is_plugin_active('language'))
@endif
@php $categoriesWith = array_merge(['slugable', 'children', 'children.slugable', 'icon'], (is_plugin_active('language-advanced') ? ['children.translations'] : [])); $categories = !is_plugin_active('ecommerce') ? [] : get_product_categories(['status' => \Botble\Base\Enums\BaseStatusEnum::PUBLISHED], $categoriesWith, [], true); @endphp
@if (theme_option('logo')) @endif @if (is_plugin_active('ecommerce'))
@endif
@if (theme_option('logo')) @endif
@if (count($currencies) > 1)
{{ __('Currency') }}
@endif @if (is_plugin_active('ecommerce'))
@if (auth('customer')->check()) {{ auth('customer')->user()->name }} @else {{ __('Log In / Sign Up') }} @endif
@endif @if (theme_option('hotline')) @endif
@if (theme_option('social_links')) @endif