{% set blCanBuy = true %} {% if aVariantSelections and aVariantSelections.selections %} {% set blCanBuy = aVariantSelections.blPerfectFit %} {% if not blHasActiveSelections %} {% if not blCanBuy and not oDetailsProduct.isParentNotBuyable() %} {% set blCanBuy = true %} {% endif %} {% endif %} {% endif %}
{# product main infos left #}
{# product picture with zoom #} {% block details_productmain_zoom %} {% include "page/details/inc/picture.html.twig" %} {% endblock %} {# more product pictures #} {% block details_productmain_morepics %} {% include "page/details/inc/morepics.html.twig" %} {% endblock %} {# product short description #} {% block details_productmain_shortdesc %} {% hasrights { ident: "SHOWSHORTDESCRIPTION" } %} {% if oDetailsProduct.oxarticles__oxshortdesc.rawValue %}
{{ oDetailsProduct.oxarticles__oxshortdesc.rawValue }}
{% endif %} {% endhasrights %} {% endblock %}
{# product main infos center #} {#
#} {# product variants | md variants #} {# {% block details_productmain_variantselections %}#} {# {% if aVariantSelections and aVariantSelections.selections %}#} {# {{ script({ include: "js/ox_article_variant.min.js", priority: 10, dynamic: __oxid_include_dynamic }) }}#} {#
#} {# {% set blHasActiveSelections = false %}#} {# {% for iKey, oVariantList in aVariantSelections.selections %}#} {# {% if oVariantList.getActiveSelection() %}#} {# {% set blHasActiveSelections = true %}#} {# {% endif %}#} {# {% include "widget/product/selectbox.html.twig" with {oSelectionList: oVariantList, iKey: iKey, blInDetails: true} %}#} {# {% endfor %}#} {# {% if blHasActiveSelections %}#} {#
#} {# {{ translate({ ident: "C4S_RESET_VARIANT_SELECTION_BTN" }) }}#} {#
#} {# {% endif %}#} {#
#} {# {% endif %}#} {# {% endblock %}#} {# product selection lists #} {# {% block details_productmain_selectlists %}#} {# {% if oViewConf.showSelectLists() %}#} {# {% set oSelections = oDetailsProduct.getSelections() %}#} {# {% if oSelections %}#} {#
#} {# {% for oSelectionList in oSelections %}#} {# {% include "widget/product/selectbox.html.twig" with {oSelectionList: oSelectionList, sFieldName: "sel", iKey: loop.index0, blHideDefault: true, sSelType: "seldrop"} %}#} {# {% endfor %}#} {#
#} {# {% endif %}#} {# {% endif %}#} {# {% endblock %}#} {# product stock information #} {# {% block details_productmain_stockstatus %}#} {# {% include "page/details/inc/stockstatus.html.twig" %}#} {# {% endblock %}#} {# product stock delivery time #} {# {% block details_productmain_deliverytime %}#} {# {% include "page/details/inc/deliverytime.html.twig" %}#} {# {% endblock %}#} {# includes nothing usable and is used anywhere, only for "compatibility" with outdated modules - deprecated #} {# {% block details_productmain_social %}{% endblock %}#} {#
#} {# product main infos right #}
{# product buybox #} {% block details_productmain_buybox %} {% if not oDetailsProduct.isParentNotBuyable() %} {% include "page/details/inc/buybox.html.twig" %} {% endif %} {% endblock %} {# product manufacturer infos #} {# {% block details_productmain_manufacturer %}#} {# {% include "page/details/inc/manufacturer.html.twig" %}#} {# {% endblock %}#} {# product links and options #} {# {% block details_productmain_productlinks %}#} {# {% include "page/details/inc/productlinks.html.twig" %}#} {# {% endblock %}#}