{% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
{% block layout_header_search_toggle %}
{% block layout_header_actions_maxia_tax_switch_before_search %}
{% set maxiaTaxSwitch = context.extensions.maxiaTaxSwitch %}
{% if maxiaTaxSwitch.pluginEnabled and maxiaTaxSwitch.showInHeader and maxiaTaxSwitch.headerPosition == 'beforeSearch' %}
<div class="col-auto maxia-tax-switch-col">
{% sw_include '@Storefront/storefront/plugins/maxia_tax_switch/switcher.html.twig' with {
displayType: maxiaTaxSwitch.displayTypeHeader,
id: 'maxiaTaxSwitchHeader'
} %}
</div>
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}
{% block layout_header_actions_account %}
{% block layout_header_actions_maxia_tax_switch %}
{% set maxiaTaxSwitch = context.extensions.maxiaTaxSwitch %}
{% if maxiaTaxSwitch.pluginEnabled and maxiaTaxSwitch.showInHeader and maxiaTaxSwitch.headerPosition == 'beforeAccount' %}
<div class="col-auto maxia-tax-switch-col">
{% sw_include '@Storefront/storefront/plugins/maxia_tax_switch/switcher.html.twig' with {
displayType: maxiaTaxSwitch.displayTypeHeader,
id: 'maxiaTaxSwitchHeader'
} %}
</div>
{% endif %}
{% endblock %}
{{ parent() }}
{% endblock %}
{% block layout_header_actions_cart %}
{% block layout_header_actions_maxia_tax_switch_before_cart %}
{% set maxiaTaxSwitch = context.extensions.maxiaTaxSwitch %}
{% if maxiaTaxSwitch.pluginEnabled and maxiaTaxSwitch.showInHeader and maxiaTaxSwitch.headerPosition == 'beforeCart' %}
<div class="col-auto maxia-tax-switch-col">
{% sw_include '@Storefront/storefront/plugins/maxia_tax_switch/switcher.html.twig' with {
displayType: maxiaTaxSwitch.displayTypeHeader,
id: 'maxiaTaxSwitchHeader'
} %}
</div>
{% endif %}
{% endblock %}
{{ parent() }}
{% block layout_header_actions_maxia_tax_switch_after_cart %}
{% set maxiaTaxSwitch = context.extensions.maxiaTaxSwitch %}
{% if maxiaTaxSwitch.pluginEnabled and maxiaTaxSwitch.showInHeader and maxiaTaxSwitch.headerPosition == 'afterCart' %}
<div class="col-auto maxia-tax-switch-col">
{% sw_include '@Storefront/storefront/plugins/maxia_tax_switch/switcher.html.twig' with {
displayType: maxiaTaxSwitch.displayTypeHeader,
id: 'maxiaTaxSwitchHeader'
} %}
</div>
{% endif %}
{% endblock %}
{% endblock %}