{% import "@SyliusShop/Common/Macro/money.html.twig" as money %}
{% set total_quantity = 0 %}
{% for key, item in cart.items %}
{% set total_quantity = total_quantity + item.quantity %}
{% endfor %}
<div class="sylius-cart-button-ctn">
<div id="sylius-cart-button" class="ui cart">
{{ sylius_template_event('sylius.shop.cart.widget.button', {'cart': cart}) }}
{% if total_quantity != 0 %}
<span>{{ total_quantity }}</span>
{% endif %}
</div>
</div>
{# <div class="ui large flowing cart hidden popup">
{{ sylius_template_event('sylius.shop.cart.widget.popup', {'cart': cart}) }}
</div> #}