{% sw_extends '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
{# FreeThemeOne 'layout/header/actions/account-widget.html.twig' #}
{# ---------------- START: SET TEMPLATE VARS ---------------- #}
{# FreeThemeOne: Set theme variables #}
{% set iconPack = theme_config('ft-icon-set') %}
{# ---------------- END: SET TEMPLATE VARS ---------------- #}
{# FreeThemeOne: Adjust icon and adjust price presentation #}
{% block layout_header_actions_cart_widget %}
{# FreeThemeOne: Adjust icon #}
{% if page.cart.lineItems|length > 0 %}
{% endif %}
{# FreeThemeOne: Remove price if cart is empty #}
{% if page.cart.lineItems|length > 0 %}
{% endif %}
{# Live updates of the cart will be shown by the offcanvas #}
{{ 'checkout.cartScreenReaderUpdate'|trans({
'%count%': page.cart.lineItems|length,
'%total%': page.cart.price.positionPrice|currency,
})|sw_sanitize }}
{% endblock %}