{% if oViewConf.getTopActionClassName() != 'clearcookies' and oViewConf.getTopActionClassName() != 'mallstart' %} {{ include_widget({ cl: "oxwCookieNote", _parent: oView.getClassKey(), nocookie: 1 }) }} {% endif %} {% block header_main %} {# TODO: We should turn this into vCMS content, or put it to Theme settings #}
{% if oView.showSearch() %}
{% include_content "oxheaderusps" ignore missing %}
{% endif %}
{% if not oView.showSearch() %}
{% endif %}
{% block layout_header_logo %} {% set slogoImg = oViewConf.getViewThemeParam('sLogoFile') %} {% set sLogoWidth = oViewConf.getViewThemeParam('sLogoWidth') %} {% set sLogoHeight = oViewConf.getViewThemeParam('sLogoHeight') %} {% if slogoImg %} {{ oxcmp_shop.oxshops__oxname.value }} {% else %} {{ oxcmp_shop.oxshops__oxname.value }} {% endif %} {% endblock %} {% include "widget/header/search.html.twig" %} {% if oView.showSearch() %} {% block layout_header_top %} {% endblock %} {% else %} {% include "page/checkout/inc/steps.html.twig" with {active: active_step} %} {% endif %}
{% if not oView.showSearch() %}
{% endif %}
{% block layout_header_bottom %} {{ include_widget({ cl: "oxwCategoryTree", cnid: oView.getCategoryId(), sWidgetType: "header", style: "", _parent: oView.getClassKey(), nocookie: 1 }) }} {% endblock %} {% if oView.showSearch() %}
{% block dd_widget_header_categorylist_navbar_header %} {% endblock %} {% if oxcmp_user and oxcmp_user.getNoticeListArtCnt() %} {{ oxcmp_user.getNoticeListArtCnt() }}{% endif %} {{ translate({ ident: "FAVOURITES" }) }} {{ include_widget({ cl: "oxwMiniBasket", nocookie: blAnon, force_sid: force_sid }) }}
{% endif %}
{% if oView.showSearch() and oView.getIsOrderStep() and oView.getClassKey() != "basket"%}
{% include "page/checkout/inc/steps.html.twig" with {active: active_step} %}
{% endif %} {% endblock %} {{ insert_new_basket_item({tpl: "widget/minibasket/newbasketitemmsg.html.twig", type: "message"}) }} {% include_dynamic "widget/minibasket/minibasketmodal.html.twig" %}