<ul class="topbar-others-options">
<li class="d-none d-lg-inline-block">
<a href="/contact">
<span>{{ 'Pages.Contact.Messages.ContactUs'|trans({}, 'messages_front') }}</span>
</a>
</li>
<!-- currencies -->
{{ include('front/main/header/top_menu_session_currencies.html.twig') }}
<!-- languages -->
{{ include('front/main/header/top_menu_session_languages.html.twig') }}
{% if app.user %}
<!-- SignIn/SignUp -->
{{ include('front/main/header/top_menu_session_user_menu.html.twig') }}
{% endif %}
<li class="d-none d-lg-inline-block">
<a href="{{ path('app_shared_cart_index') }}">
<span class="btn btn_cart">
<i class="fa fa-shopping-cart"></i>
</span>
{% set cart = app.session.get('cart') %}
{% if cart is not null and cart['products'] is defined %}
{% set cart_count = app.session.get('cart')['products'] | length %}
{% else %}
{% set cart_count = 0 %}
{% endif %}
<span class="number_cart">{{ cart_count }}</span>
</a>
</li>
</ul>