@if (!empty(sc_link_collection()['menu'])) @foreach (sc_link_collection()['menu'] as $url) @if ($url['type'] != 'collection')
  • {{ sc_language_render($url['data']['name']) }}
  • @else @if (count($url['childs']))
  • {{ $url['data']['name'] }}
      @foreach ($url['childs'] as $item)
    • {{ sc_language_render($item['data']['name']) }}
    • @endforeach
  • @endif @endif @endforeach @endif @if (sc_config('link_account', null, 1) && config('s-cart.ecommerce_mode', 1)) @guest
  • {{ sc_language_render('front.account') }}
    • {{ sc_language_render('front.login') }}
    • {{ sc_language_render('front.wishlist') }} {{ Cart::instance('wishlist')->count() }}
    • {{ sc_language_render('front.compare') }} {{ Cart::instance('compare')->count() }}
  • @else
  • {{ sc_language_render('customer.my_profile') }}
    • {{ sc_language_render('front.my_profile') }}
    • {{ sc_language_render('front.logout') }}
    • {{ sc_language_render('front.wishlist') }} {{ Cart::instance('wishlist')->count() }}
    • {{ sc_language_render('front.compare') }} {{ Cart::instance('compare')->count() }}
    • @csrf
  • @endguest @endif @if (sc_config('link_language', null, 1)) @if (count($sc_languages)>1)
    • @foreach ($sc_languages as $key => $language)
    • {{ $language['name'] }}
    • @endforeach
  • @endif @endif @if (sc_config('link_currency', null, 1) && config('s-cart.ecommerce_mode', 1)) @if (count($sc_currencies)>1)
  • {{ sc_currency_info()['name'] }}
      @foreach ($sc_currencies as $key => $currency)
    • code == sc_currency_info()['code']) ? 'disabled': '' }}> {{ $currency->name }}
    • @endforeach
  • @endif @endif
@if (sc_config('link_cart', null, 1) && config('s-cart.ecommerce_mode', 1))
{{ Cart::instance('default')->count() }} @endif