{# product number #} {% block details_buybox_artnum %} {{ translate({ ident: "C4S_ARTNUM_SHORT", suffix: "COLON" }) }} {{ oDetailsProduct.oxarticles__oxartnum.value }} {% endblock %}
{# attributes #} {% if oView.getAttributes() %}
{% for oAttr in oView.getAttributes() %} {% endfor %}
{{ oAttr.title }}: {{ oAttr.value }}
{% endif %} {# properties #} {% if oDetailsProduct.oxarticles__oxvarname.value %} {% set aPropertyTitles = oDetailsProduct.oxarticles__oxvarname.value|split('|') %} {% set aPropertyValues = oDetailsProduct.oxarticles__oxvarselect.value|split('|') %}
{% for sKey, sPropertyTitle in aPropertyTitles %} {% endfor %}
{{ sPropertyTitle|trim }}: {{ aPropertyValues[sKey]|trim }}
{% endif %} {# unit price #} {# todo create theme option to enable/disable this block #} {# {% if oDetailsProduct.getUnitPrice() and blShowPriceInDetails %}#} {# {% set oUnitPrice = oDetailsProduct.getUnitPrice() %}#} {#
#} {# {% block details_buybox_priceperunit %}#} {# {{ format_price(oUnitPrice, { currency: oCurrency }) }}/{{ oDetailsProduct.getUnitName(true) }}#} {# {% endblock %}#} {#
#} {# {% endif %}#} {# list price #} {# todo create theme option to enable/disable this block #} {# {% hasrights { ident: "SHOWARTICLEPRICE" } %}#} {# {% if oDetailsProduct.getPrice() and not oDetailsProduct.loadAmountPriceInfo() and blShowPriceInDetails %}#} {# {% set oCurrency = oView.getActCurrency() %}#} {#
#} {# {% block details_buybox_fprice %}#} {# #} {# #} {# #} {# #} {# #} {#
1 {{ oScalePrice.oxprice2article__oxamount.value }} {{ translate({ ident: "PCS" }) }}{{ format_price(oDetailsProduct.getPrice(), { currency: oCurrency }) }}{% if oDetailsProduct.getUnitName() %} / {{ oDetailsProduct.getUnitName(true) }}{% endif %}
#} {# {% endblock %}#} {#
#} {# {% endif %}#} {# {% endhasrights %}#} {# weight #} {# todo create theme option to enable/disable this block #} {% block details_buybox_weight %} {% if oDetailsProduct.getWeight() %}
{{ translate({ ident: "WEIGHT", suffix: "COLON" }) }} {{ oDetailsProduct.getWeight() }} {{ translate({ ident: "KG" }) }}
{% endif %} {% endblock %} {# vpe #} {# todo create theme option to enable/disable this block #} {# {% if oDetailsProduct.oxarticles__oxvpe.value > 1 %}#} {#
#} {# {% block details_buybox_vpe %}#} {# {{ translate({ ident: "DETAILS_VPE_MESSAGE_1" }) }} {{ oDetailsProduct.oxarticles__oxvpe.value }} {{ translate({ ident: "DETAILS_VPE_MESSAGE_2" }) }}#} {# {% endblock %}#} {#
#} {# {% endif %}#} {# pers params #} {# todo {% if oView.isPersParam() %}#} {# {% block details_buybox_persparams %}#} {#
#} {# #} {# #} {#
#} {# {% endblock %}#} {# {% endif %} #} {# scale price #} {# todo create theme option to enable/disable this block #} {% hasrights { ident: "SHOWARTICLEPRICE" } %} {% if oDetailsProduct.loadAmountPriceInfo() and blShowPriceInDetails %} {% set oCurrency = oView.getActCurrency() %}
{% block details_buybox_scale_prices %} {% for oScalePrice in oDetailsProduct.loadAmountPriceInfo() %} {% endfor %}
{% if not loop.first %}{{ translate({ ident: "FROM" }) }}{% endif %} {{ oScalePrice.oxprice2article__oxamount.value }} {{ translate({ ident: "PCS" }) }} {% if oScalePrice.oxprice2article__oxaddperc.value %} {{ oScalePrice.oxprice2article__oxaddperc.value }}% {{ translate({ ident: "DISCOUNT" }) }} {% else %} {% if oViewConf.isFunctionalityEnabled("blShowNetPrice") %} {{ oScalePrice.fnetprice }} {{ oCurrency.sign }} {# attention! fnetprice is currency formatted string value! do not use oxprice #} {% else %} {{ oScalePrice.fbrutprice }} {{ oCurrency.sign }} {# attention! fnetprice is currency formatted string value! do not use oxprice #} {% endif %} {% if oDetailsProduct.getUnitName() %} / {{ oDetailsProduct.getUnitName(true) }}{% endif %} {% endif %}
{% endblock %}
{% endif %} {% endhasrights %} {# article amount infos #} {% block details_buybox_infos %}
{% if oDetailsProduct.getUnitQuantity() %} {% endif %} {# {% if oDetailsProduct.getWeight() %}#} {# #} {# #} {# #} {# #} {# {% endif %}#} {% if oxcmp_user %} {% set oDetailUnitPrice = oDetailsProduct.getUnitPrice() %} {% endif %} {% if oDetailsProduct.oxarticles__c4sminamount.value %} {% endif %} {% if oDetailsProduct.oxarticles__c4smaxamount.value %} {% endif %}
{{ translate({ ident: "C4S_RELEASE_UNIT", suffix: "COLON" }) }} {{ oDetailsProduct.getUnitQuantity() }} {% if oDetailsProduct.getUnitName() %}{{ oDetailsProduct.getUnitName(true) }}{% endif %}
{{ translate({ ident: "C4S_WEIGHT_PER_UNIT_QUANTITY", suffix: "COLON" }) }}{{ oDetailsProduct.getWeight() }} {{ translate({ ident: "KG" }) }}
{{ translate({ ident: "C4S_MINIMUM_ORDER_AMOUNT", suffix: "COLON" }) }} {{ oDetailsProduct.oxarticles__c4sminamount.value }} {% if oDetailsProduct.getUnitName() %}{{ oDetailsProduct.getUnitName(true) }}{% endif %}
{{ translate({ ident: "C4S_MAXIMUM_ORDER_AMOUNT", suffix: "COLON" }) }} {{ oDetailsProduct.oxarticles__c4smaxamount.value }} {% if oDetailsProduct.getUnitName() %}{{ oDetailsProduct.getUnitName(true) }}{% endif %}
{% endblock %} {# price #} {% if blShowPriceInDetails %} {% set oPrice = oDetailsProduct.getPrice() %} {% set oTPrice = false %} {% block details_buybox_pricebox %} {% endblock %} {% endif %}