{% if oViewConf.getTopActionClassName() != "clearcookies" and oViewConf.getTopActionClassName() != "mallstart" %} {{ include_widget({ cl: "oxwCookieNote", _parent: oView.getClassKey(), nocookie: 1 }) }} {% endif %} {% block header_main %} {% set blFullwidth = oViewConf.getViewThemeParam("blFullwidthLayout") %} {% set blDisplayServiceMenuIcons = oViewConf.getViewThemeParam("blDisplayServiceMenuIcons") %} {% set blDisplayCurrencyMenu = oViewConf.getViewThemeParam("blDisplayCurrencyMenu") %} {% set blDisplayLogoutButton = oViewConf.getViewThemeParam("blDisplayLogoutButton") %} {% set blCanBuyNotLoggedIn = oViewConf.getViewThemeParam("blCanBuyNotLoggedIn") %} {% set blDisplayRegisterLink = oViewConf.getViewThemeParam("blDisplayRegisterLink") %}
{% block layout_header_top %} {# todo: parameter to disable/disshow service menu via backend.. ^^ #}
{# todo non fullwidth needed? #}
{% ifcontent ident "c4s_menu_url" set oCont %}
{{ include(template_from_string(oCont.oxcontents__oxcontent.value)) }}
{% endifcontent %}
{% block header_service_menu_services %} {{ translate({ ident: "MY_ACCOUNT" }) }} {% if oViewConf.getShowCompareList() %} {{ translate({ ident: "MY_PRODUCT_COMPARISON" }) }} {% endif %} {{ translate({ ident: "MY_WISH_LIST" }) }} {% if oViewConf.getShowWishlist() %} {{ translate({ ident: "MY_GIFT_REGISTRY" }) }} {% endif %} {% if oViewConf.getShowListmania() %} {{ translate({ ident: "MY_LISTMANIA" }) }} {% endif %} {% if oViewConf.isFunctionalityEnabled("blEnableDownloads") %} {{ translate({ ident: "MY_DOWNLOADS" }) }} {% endif %} {% endblock %} {% block layout_page_header_register %} {% if blDisplayRegisterLink and not oxcmp_user %} {% endif %} {% endblock %} {% block dd_layout_page_header_icon_menu_account %} {% if oxcmp_user or oView.getCompareItemCount() or Errors.loginBoxErrors %} {% set blAnon = 0 %} {% set force_sid = oView.getSidForWidget() %} {% else %} {% set blAnon = 1 %} {% endif %} {# account dropdown #} {{ include_widget({ cl: "oxwServiceMenu", _parent: oView.getClassKey(), force_sid: force_sid, nocookie: blAnon, _navurlparams: oViewConf.getNavUrlParams(), anid: oViewConf.getActArticleId() }) }} {% endblock %} {% block dd_layout_page_header_icon_menu_languages %} {# language dropdown #} {{ include_widget({ cl: "oxwLanguageList", lang: oViewConf.getActLanguageId(), _parent: oView.getClassKey(), nocookie: 1, _navurlparams: oViewConf.getNavUrlParams(), anid: oViewConf.getActArticleId() }) }} {% endblock %} {% block dd_layout_page_header_icon_menu_currencies %} {# currency dropdown #} {% if blDisplayCurrencyMenu %} {{ include_widget({ cl: "oxwCurrencyList", cur: oViewConf.getActCurrency(), _parent: oView.getClassKey(), nocookie: 1, _navurlparams: oViewConf.getNavUrlParams(), anid: oViewConf.getActArticleId() }) }} {% endif %} {% endblock %} {% block dd_layout_page_header_icon_logout %} {% if oxcmp_user and blDisplayLogoutButton %} {% endif %} {% endblock %} {% ifcontent ident "cms_main_faq" set oCont %} {% endifcontent %}
{% endblock %} {% block header_content %}
{# todo non fullwidth needed? #}
{# data-bs-toggle="collapse" data-bs-target=".header-navbar-collapse"> #}
{{ oxcmp_shop.oxshops__oxtitleprefix.value }} {##}
{% endblock %}
{% block layout_header_bottom %} {{ include_widget({ cl: "oxwCategoryTree", cnid: oView.getCategoryId(), sWidgetType: "header", _parent: oView.getClassKey(), nocookie: 1 }) }} {% endblock %}
{% endblock %} {{ insert_new_basket_item({tpl: "widget/minibasket/newbasketitemmsg.html.twig", type: "message"})|raw }}