{% capture append = "oxidBlock_content" %} {% set template_title = "COMPARE"|translate %} {{ oView.setNoPaging() }} {% set articleList = oView.getCompArtList() %} {% set atributeList = oView.getAttributeList() %}

{{ template_title }}

{% if oxcmp_user.oxuser__oxpassword.value %}
{% include "page/account/inc/account_menu.html.twig" with {active_link: "compare"} %}
{% endif %}
{% if oView.getCompareItemsCnt() >= 1 %}
{% for prodNr, attrib in atributeList %}
{{ attrib.title }}:
{% endfor %}
{% for prodNr, product in articleList %}
{% if not product.hidePrev %} « {% endif %} {{ translate({ ident: "MOVE" }) }} {% if not product.hideNext %} » {% endif %}
{% include "page/compare/inc/compareitem.html.twig" with { product: product, testid: loop.index } %} {% for attrib in atributeList %}
{% if attrib.aProd[prodNr] and attrib.aProd[prodNr].value %} {{ attrib.aProd[prodNr].value }} {% else %} - {% endif %}
{% endfor %}
{% endfor %}
{% else %}

{{ translate({ ident: "MESSAGE_SELECT_AT_LEAST_ONE_PRODUCT" }) }}

{% endif %}
{{ insert_tracker({title: template_title}) }} {% endcapture %} {% include "layout/page.html.twig" %}