{% set aVariantArticles = oView.getVariantList() %} {% set sActArticleID = oView.getViewParameter('anid') %} {% set blShowToBasket = true %} {% set blCanBuy = true %} {% if blDisableToCart or oDetailsProduct.isNotBuyable() %} {% set blShowToBasket = false %} {% set blCanBuy = false %} {% endif %} {# todo full bs5 refactoring waiting ... #}
| {{ translate({ ident: "ARTNUM" }) }} | {% endblock %} {% block details_variant_table_head_properties %} {% if sPropertyTitles != "" and aPropertyTitles|length > 0 %} {% for sPropertyTitle in aPropertyTitles %}{{ sPropertyTitle }} | {% endfor %} {% endif %} {% endblock %} {% block details_variant_table_head_action %}Action | {# popover functionality from article extensions module #} {% endblock %}
|---|---|---|
| {% block details_variant_table_artnum_value %} {{ oArticle.oxarticles__oxartnum.value }} {% endblock %} | {% endblock %} {% block details_variant_table_properties %} {% if sPropertyValues != "" and aPropertyValues|length > 0 %} {# property values from article if available #} {% for sPropertyValue in aPropertyValues %}{{ sPropertyValue }} | {% endfor %} {% endif %} {% endblock %} {% block details_variant_table_action %}{% include "page/details/inc/buybox_list.html.twig" %} | {% endblock %}