@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 : ''; @endphp
@if (theme_option('mobile-header-message'))
{!! BaseHelper::clean(theme_option('mobile-header-message')) !!}
@endif
{!! Menu::renderMenuLocation('header-navigation', [ 'view' => 'header-menu', ]) !!}
@if (theme_option('header_messages') && $headerMessages = json_decode(theme_option('header_messages'), true))
    @foreach($headerMessages as $headerMessage) @if (count($headerMessage) == 4)
  • first) style="display: none" @endif> @if (! empty($headerMessage[0]['value'])) {!! BaseHelper::renderIcon($headerMessage[0]['value'], null, ['class' => 'd-inline-block mr-5']) !!} @endif @if (! empty($headerMessage[1]['value'])) {!! BaseHelper::clean($headerMessage[1]['value']) !!} @endif @if (! empty($headerMessage[2]['value']) && ! empty($headerMessage[3]['value']))  {!! BaseHelper::clean($headerMessage[3]['value']) !!} @endif
  • @endif @endforeach
@endif
@php $currencies = is_plugin_active('ecommerce') ? get_all_currencies() : []; @endphp
    @if ($hotline = theme_option('hotline'))
  • {{ __('Need help? Call Us:') }}   {{ $hotline }}
  • @endif @if (is_plugin_active('language')) {!! Theme::partial('language-switcher') !!} @endif @if (count($currencies) > 1)
  • {{ get_application_currency()->title }}
  • @endif
(theme_option('enabled_sticky_header', 'yes') == 'yes') && (theme_option('sticky_header_content_position', 'bottom') == 'middle'), ]) >
@if (is_plugin_active('ecommerce'))
@endif
(theme_option('enabled_sticky_header', 'yes') == 'yes') && (theme_option('sticky_header_content_position', 'bottom') == 'bottom'), ])>
@if (is_plugin_active('ecommerce') && theme_option('enabled_browse_categories_on_header', 'yes') == 'yes')
{!! BaseHelper::clean(__('Browse All Categories')) !!}
@php $categories = ProductCategoryHelper::getProductCategoriesWithUrl([], ['is_featured' => true, 'parent_id' => 0]); @endphp
{!! Theme::partial('product-categories-dropdown', ['categories' => $categories, 'more' => false]) !!}
@if (count($categories) > 10) @endif @if (count($categories) > 10)
{{ __('Show more...') }}
@endif
@endif
@if ($hotline = theme_option('hotline'))
hotline

{{ $hotline }}{{ theme_option('hotline_subtitle_text') ?: __('24/7 Support Center') }}

@endif
@if (is_plugin_active('ecommerce'))
@if (EcommerceHelper::isCompareEnabled()) @endif @if (EcommerceHelper::isWishlistEnabled()) @endif @if (EcommerceHelper::isCartEnabled())
{{ __('Cart') }} {{ Cart::instance('cart')->count() }}
{!! Theme::partial('cart-panel') !!}
@endif
@endif
@if (is_plugin_active('ecommerce') && theme_option('enabled_product_categories_on_search_keyword_box', 'yes') !== 'no') @endif @if (is_plugin_active('ecommerce'))
{{ __('Browse Categories') }}
@endif
@if (is_plugin_active('language'))
{{ __('Language') }}
@endif @if (count($currencies) > 1)
{{ __('Currency') }}
@endif @if (is_plugin_active('ecommerce')) @if (EcommerceHelper::isOrderTrackingEnabled()) @endif @if (EcommerceHelper::isCompareEnabled()) @endif @endif @if ($hotline = theme_option('hotline')) @endif
@if ($socialLinks = theme_option('social_links')) @endif @if ($copyright = Theme::getSiteCopyright()) @endif