{% sw_extends '@Storefront/storefront/layout/header/actions/currency-widget.html.twig' %} {# ---------------- START: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Set theme variables #} {% set twtHeaderType = theme_config('twt-header-type') %} {% set twtHeaderTopBarJustifyContent = theme_config('twt-header-top-bar-justify-content') %} {# ---------------- END: SET TEMPLATE VARS ---------------- #} {# ThemeWare: Changes on the currency-dropdown #} {# TODO: - Default-Konfiguration ergänzen... - Check if this can be solved with scss... #} {% block layout_header_actions_currency_widget_form_items %} {% if twtHeaderType == 4 or twtHeaderTopBarJustifyContent == 'flex-start' %}
{% else %} {# Default block #} {{ parent() }} {% endif %} {% endblock %}