{# ThemeWare "Detail product specifications" container #} {# Create container and add product specifications #} {# type: buy-widget #} {# ThemeWare: Product specifications in buy-widget #} {% block twt_buy_widget_product_specifications %} {# ThemeWare: Add manufacturer #} {% if page.product.manufacturer and twtProductDetailManufacturerShow == 2 %}
{% block twt_page_product_detail_manufacturer_label %} {{ "twt.detail.manufacturerLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_manufacturer %} {{ page.product.manufacturer.translated.name }} {% endblock %}
{% endif %} {# ThemeWare: Add manufacturerNumber #} {% if page.product.manufacturerNumber and twtProductDetailManufacturernumberShow == 2 %}
{% block twt_page_product_detail_manufacturernumber_label %} {{ "twt.detail.manufacturernumberLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_manufacturernumber %} {{ page.product.manufacturerNumber }} {% endblock %}
{% endif %} {# ThemeWare: Add ean #} {% if page.product.ean and twtProductDetailEanShow == 2 %}
{% block twt_page_product_detail_ean_label %} {{ "twt.detail.eanLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_ean %} {{ page.product.ean }} {% endblock %}
{% endif %} {# ThemeWare: Zusatzfeld 1 (ehemals Freitextfeld 1) #} {% if twtCustomFields.product.twt_modern_pro_custom_field__product__custom_field_1 is not empty %}
{% block twt_page_product_detail_custom_field_1_label %} {{ "twt.detail.customFields.customField1.label"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_custom_field_1 %} {{ twtCustomFields.product.twt_modern_pro_custom_field__product__custom_field_1 }} {% endblock %}
{% endif %} {# ThemeWare: Add weight #} {% if page.product.weight and twtProductDetailWeightShow == 2 %}
{% block twt_page_product_detail_weight_label %} {{ "twt.detail.weightLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_weight %} {{ page.product.weight }} kg {% endblock %}
{% endif %} {# ThemeWare: Add length #} {% if page.product.length and twtProductDetailLengthShow == 2 %}
{% block twt_page_product_detail_length_label %} {{ "twt.detail.lengthLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_length %} {{ page.product.length }} mm {% endblock %}
{% endif %} {# ThemeWare: Add width #} {% if page.product.width and twtProductDetailWidthShow == 2 %}
{% block twt_page_product_detail_width_label %} {{ "twt.detail.widthLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_width %} {{ page.product.width }} mm {% endblock %}
{% endif %} {# ThemeWare: Add height #} {% if page.product.height and twtProductDetailHeightShow == 2 %}
{% block twt_page_product_detail_height_label %} {{ "twt.detail.heightLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_height %} {{ page.product.height }} mm {% endblock %}
{% endif %} {# ThemeWare: Zusatzfeld 2 (ehemals Freitextfeld 2) #} {# TODO: Add position 'below 1', 'default' or 'above 3'... #} {% if twtCustomFields.product.twt_modern_pro_custom_field__product__custom_field_2 is not empty %}
{% block twt_page_product_detail_custom_field_2_label %} {{ "twt.detail.customFields.customField2.label"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_custom_field_2 %} {{ twtCustomFields.product.twt_modern_pro_custom_field__product__custom_field_2 }} {% endblock %}
{% endif %} {# ThemeWare: Add availableStock #} {# TODO: handle isCloseout?! #} {% if page.product.availableStock > 0 and twtProductDetailAvailablestockShow == 2 %}
{% block twt_page_product_detail_availablestock_label %} {{ "twt.detail.availableStockLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_availablestock %} {{ page.product.availableStock }} {% endblock %}
{% endif %} {# ThemeWare: Add minPurchase #} {% if page.product.minPurchase and twtProductDetailMinpurchaseShow == 2 %}
{% block twt_page_product_detail_minpurchase_label %} {{ "twt.detail.minpurchaseLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_minpurchase %} {{ page.product.minPurchase }} {% endblock %}
{% endif %} {# ThemeWare: Add maxPurchase #} {% if page.product.maxPurchase and twtProductDetailMaxpurchaseShow == 2 %}
{% block twt_page_product_detail_maxpurchase_label %} {{ "twt.detail.maxpurchaseLabel"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_maxpurchase %} {{ page.product.maxPurchase }} {% endblock %}
{% endif %} {# ThemeWare: Zusatzfeld 3 #} {% if twtCustomFields.product.twt_modern_pro_custom_field__product__custom_field_3 is not empty %}
{% block twt_page_product_detail_custom_field_3_label %} {{ "twt.detail.customFields.customField3.label"|trans|sw_sanitize }} {% endblock %} {% block twt_page_product_detail_custom_field_3 %} {{ twtCustomFields.product.twt_modern_pro_custom_field__product__custom_field_3 }} {% endblock %}
{% endif %} {% endblock %}