@php $userLanguages = !empty($generalSettings['site_language']) ? [$generalSettings['site_language'] => getLanguages($generalSettings['site_language'])] : []; if (!empty($generalSettings['user_languages']) and is_array($generalSettings['user_languages'])) { $userLanguages = getLanguages($generalSettings['user_languages']); } $localLanguage = []; foreach($userLanguages as $key => $userLanguage) { $localLanguage[localeToCountryCode($key)] = $userLanguage; } @endphp
@if(getOthersPersonalizationSettings('platform_phone_and_email_position') == 'header')
@if(!empty($generalSettings['site_phone']))
{{ $generalSettings['site_phone'] }}
@endif @if(!empty($generalSettings['site_email']))
{{ $generalSettings['site_email'] }}
@endif
@endif
{{-- Currency --}} @include('web.default.includes.top_nav.currency') @if(!empty($localLanguage) and count($localLanguage) > 1)
{{ csrf_field() }} @if(!empty($previousUrl)) @endif
@else
@endif
@include(getTemplate().'.includes.shopping-cart-dropdwon')
@include(getTemplate().'.includes.notification-dropdown')
{{-- User Menu --}} @include('web.default.includes.top_nav.user_menu')
@push('scripts_bottom') @endpush