{% extends '@Storefront/storefront/layout/header/header.html.twig' %}
{% block layout_header %}
{% if theme_config('headerSettingsLayoutDisplayHeaderTop') %}
{% block layout_top_bar %}
{% block layout_header_top_bar %}
<div class="header-top">
<div class="header-top-container {% if theme_config('headerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
{% block layout_header_top_left_wrapper %}
<div class="header-top-left">
{% block layout_header_top_left_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderTopLeft'),
headerImage: theme_config('headerStylesLayoutHeaderTopImage'),
headerLocation: 'top',
} %}
{% endblock %}
</div>
{% endblock %}
{% block layout_header_top_middle_wrapper %}
<div class="header-top-middle">
{% block layout_header_top_middle_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderTopMiddle'),
headerImage: theme_config('headerStylesLayoutHeaderTopImage'),
headerLocation: 'top',
} %}
{% endblock %}
</div>
{% endblock %}
{% block layout_header_top_right_wrapper %}
<div class="header-top-right">
{% block layout_header_top_right_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderTopRight'),
headerImage: theme_config('headerStylesLayoutHeaderTopImage'),
headerLocation: 'top',
} %}
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% endblock %}
{% endif %}
{% if theme_config('headerSettingsLayoutDisplayHeaderCenter') %}
{% block layout_header_navigation %}
<div class="header-center">
<div class="header-center-container {% if theme_config('headerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
<div class="header-center-left">
{% block layout_header_logo %}
<div class="header-logo-col">
{% sw_include '@Storefront/storefront/layout/header/logo.html.twig' %}
</div>
{% endblock %}
</div>
<div class="header-center-middle d-flex flex-row justify-content-center">
{% if theme_config('headerStylesMobileMenuLayoutVersion') == 'version-03' %}
{% block layout_header_bar_hamburger %}
<div class="header-action d-inline-block d-lg-none">
<div class="header-account-menu">
{% sw_include '@parent/storefront/layout/header/actions/hamburger-widget.html.twig' %}
</div>
</div>
{% endblock %}
{% endif %}
{% block layout_header_search %}
{% sw_include '@parent/storefront/layout/header/search-expanded.html.twig' %}
{% endblock %}
{% if theme_config('headerSettingsLayoutDisplayHeaderLanguage') %}
{% block layout_header_bar_language %}
{% sw_include '@parent/storefront/layout/header/actions/language-widget.html.twig' %}
{% endblock %}
{% endif %}
</div>
{% block layout_header_center_right_wrapper %}
<div class="header-center-right d-{{ theme_config('headerStylesMobileHeaderCenterRightDisplay') }} d-{{ theme_config('headerStylesMobileHeaderCenterRightBreakpointFlex') }}-flex">
{% block layout_header_center_right_extra %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderCenterRight'),
headerImage: theme_config('headerStylesLayoutHeaderTopImage'),
headerLocation: 'center',
} %}
{% endblock %}
{% block layout_header_actions %}
{% block layout_header_search_toggle %}
{# Adding element but hiding, to prevent js error #}
<div class="col-auto d-none">
<div class="search-toggle">
<button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed" type="button" data-toggle="collapse" data-target="#searchCollapse" aria-expanded="false" aria-controls="searchCollapse" aria-label="{{ "header.searchButton"|trans|striptags }}">
{% sw_icon 'search' %}
</button>
</div>
</div>
{% endblock %}
{% if config('core.cart.wishlistEnabled') %}
{% block layout_header_actions_wishlist %}
<div class="header-action">
<div class="header-wishlist">
<a class="btn header-wishlist-btn header-actions-btn" href="{{ path('frontend.wishlist.page') }}" title="{{ 'header.wishlist'|trans|striptags }}" aria-label="{{ 'header.wishlist'|trans|striptags }}">
{% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
</a>
</div>
</div>
{% endblock %}
{% endif %}
{% block layout_header_actions_account %}
<div class="header-action d-{{ theme_config('headerStylesMobileHeaderCenterRightDisplay') }} d-{{ theme_config('headerStylesMobileHeaderCenterRightBreakpointFlex')|default('md') }}-flex">
<div class="header-account-menu">
{% sw_include '@parent/storefront/layout/header/actions/account-widget.html.twig' %}
</div>
</div>
{% endblock %}
{% block layout_header_actions_cart %}
<div class="header-action d-{{ theme_config('headerStylesMobileHeaderCenterRightDisplay') }} d-{{ theme_config('headerStylesMobileHeaderCenterRightBreakpointFlex')|default('md') }}-flex">
<div class="header-cart" data-offcanvas-cart="true">
<a class="btn header-cart-btn header-actions-btn" href="{{ path('frontend.checkout.cart.page') }}" data-cart-widget="true" title="{{ 'checkout.cartTitle'|trans|striptags }}" aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
{% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
</a>
</div>
</div>
{% endblock %}
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% endif %}
{% if theme_config('headerSettingsLayoutDisplayHeaderBottom') %}
{% block layout_header_main_navigation %}
<div class="header-bottom{% if theme_config('headerSettingsLayoutHighlightFirstItem') %} highlight-first{% endif %}">
<div class="header-bottom-container {% if theme_config('headerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
<div class="header-bottom-left">
{% block base_navigation_inner %}
{% sw_include '@parent/storefront/layout/navigation/navigation.html.twig' %}
{% endblock %}
{% block layout_header_navigation_toggle %}{% endblock %}
</div>
{% block layout_header_bottom_middle_wrapper %}
<div class="header-bottom-middle">
{% block layout_header_bottom_middle_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderBottomMiddle'),
headerImage: theme_config('headerStylesLayoutHeaderBottomImage'),
headerLocation: 'bottom',
} %}
{% endblock %}
</div>
{% endblock %}
{% block layout_header_bottom_right_wrapper %}
<div class="header-bottom-right">
{% block layout_header_bottom_right_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderBottomRight'),
headerImage: theme_config('headerStylesLayoutHeaderBottomImage'),
headerLocation: 'bottom',
} %}
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% endif %}
{# 'tail' of bottom can contain various things like USP's or extra (sub)categories #}
{% if theme_config('headerSettingsLayoutDisplayHeaderBottomTail') %}
{% block layout_header_bottom_tail_navigation %}
<div class="header-bottom-tail">
<div class="header-bottom-tail-container {% if theme_config('headerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
{% block layout_header_bottom_tail_left_wrapper %}
<div class="header-bottom-tail-left">
{% block layout_header_bottom_tail_left_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderBottomTailLeft'),
headerImage: theme_config('headerStylesLayoutHeaderBottomTailImage'),
headerLocation: 'bottomTail',
} %}
{% endblock %}
</div>
{% endblock %}
{% block layout_header_bottom_tail_middle_wrapper %}
<div class="header-bottom-tail-middle">
{% block layout_header_bottom_tail_middle_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderBottomTailMiddle'),
headerImage: theme_config('headerStylesLayoutHeaderBottomTailImage'),
headerLocation: 'bottomTail',
} %}
{% endblock %}
</div>
{% endblock %}
{% block layout_header_bottom_tail_right_wrapper %}
<div class="header-bottom-tail-right">
{% block layout_header_bottom_tail_right_container %}
{% sw_include '@Storefront/storefront/layout/header/header-content-renderer.html.twig' ignore missing with {
headerContent: theme_config('headerStylesLayoutHeaderBottomTailRight'),
headerImage: theme_config('headerStylesLayoutHeaderBottomTailImage'),
headerLocation: 'bottomTail',
} %}
{% endblock %}
</div>
{% endblock %}
</div>
</div>
{% endblock %}
{% endif %}
{% endblock %}