{% set oActCategory = oView.getActiveCategory() %} {% set oParentProduct = oDetailsProduct.getParentArticle() %} {% set oManufacturer = oView.getManufacturer() %} {% set aVariantSelections = oView.getVariantSelections() %} {% set sSelectDetailsType = oViewConf.getViewThemeParam("sSelectDetailsType") %} {% set blShowManufacturerLogo = oViewConf.getViewThemeParam("blShowManufacturerLogo") %} {% set blShowMediaFilesInOwnTab = oViewConf.getViewThemeParam("blShowMediaFilesInOwnTab") %} {% set blShowPriceInDetails = oViewConf.getViewThemeParam("blShowPriceInDetails") %} {% block details_fullproductinfo_main %}
{% if aVariantSelections and aVariantSelections.rawselections %}
{{ oViewConf.getHiddenSid()|raw }} {{ oViewConf.getNavFormParams()|raw }}
{% endif %}
{{ oViewConf.getHiddenSid()|raw }} {{ oViewConf.getNavFormParams()|raw }} {% if not oDetailsProduct.isNotBuyable() %} {% endif %} {# details page view #} {% block details_fullproductinfo_productmain %} {% if sSelectDetailsType == "standard" %} {% include "page/details/inc/productmain.html.twig" %} {% elseif sSelectDetailsType == "list" %} {% include "page/details/inc/productmain_list.html.twig" %} {% elseif sSelectDetailsType == "combi" %} {% include "page/details/inc/productmain_combi.html.twig" %} {% endif %} {% endblock %}
{% endblock %} {# product variants table in list mode #} {% block details_fullproductinfo_variants %} {% if sSelectDetailsType == "list" %}
{% include "page/details/inc/variant_table.html.twig" %}
{% endif %} {% endblock %} {% block details_fullproductinfo_additional %}
{% include "page/details/inc/tabs.html.twig" %}
{% endblock %} {% if oView.ratingIsActive() %} {% block details_fullproductinfo_review %}

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

{% include "widget/reviews/reviews.html.twig" %} {# todo refactoring #}
{% endblock %} {% endif %} {% block details_fullproductinfo_related %} {% include "page/details/inc/related_products.html.twig" %} {% endblock %} {# todo move modal to modal wrapper if possible.. check include in fullproductinfo.. move to new capture block in details.tpl? #} {# variant list modal - can only be rendered here, but not when reloaded via ajax (variant change). is moved to another container after the initial load. #6774 #} {# {% set oCoreUtils = "C4S\Core\Core\c4s_core_utils"|oxNew %} todo #} {% if sSelectDetailsType == "combi" %} {# todo and oCoreUtils and not oCoreUtils.isAjaxRequest() #} {% include "page/details/inc/variant_table_modal.html.twig" %} {% endif %}