{# Workaround for alt-template https://forum.oxid-esales.com/t/alt-template-wie-andern/75407/22 #} {% set oDetailsProduct = oView.getProduct() %} {% set sTemplate = oDetailsProduct.oxarticles__oxtemplate.value %} {% if empty(sTemplate) %} {% include "page/details/details.html.twig" with {blWorkaroundInclude: true} %} {% else %} {% include sTemplate with {blWorkaroundInclude: true} %} {% endif %} {{ insert_tracker({title: "PRODUCT_DETAILS"|translate, product: oDetailsProduct, cpath: oView.getCatTreePath()}) }} {{ script({ widget: oView.getClassKey(), dynamic: __oxid_include_dynamic }) }}