{% set setup_charges_display = 'goldstar_theme.products_detail.no_charge'|trans({},'goldstar') %} {# {% set ink_color_display = '' %}#} {# {% set product_time_display = '' %}#} {# {% set weight_display = '' %}#} {# {% set imprint_area_flag = false %}#} {# {% set imprint_area = '-' %}#} {# {% set imprint_size = '-' %}#} {# {% for key,val in feature_details %}#} {# {% if val.label == 'Imprint Area' %}#} {# {% set temp_data = val.value|split('-', 2) %}#} {# {% set imprint_area = temp_data[0] %}#} {# {% set imprint_size = (temp_data[1]!='undefined')?temp_data[1]:'-' %}#} {# {% endif %}#} {# {% endfor %}#} {# {% if attributes is defined and attributes | length > 0 %}#} {# {% for attr in attributes if attr.label == 'Ink' %}#} {# {% if attr.values is defined and attr.values | length > 0 %}#} {# {% for key, value in attr.values %}#} {# {% if loop.first %}#} {# {% set ink_color_display = value %} #} {# {% else %}#} {# {% set ink_color_display = ink_color_display ~', '~value %}#} {# {% endif %}#} {# {% endfor %}#} {# {% endif %}#} {# {% endfor %}#} {# {% endif %}#} {# {% for key,val in imprint_information.imprint_method_information if val.production_days != ''%}#} {# {% for key1,val1 in imprint_methods if key1 == key %}#} {# {% if loop.first %}#} {# {% set product_time_display = val.production_days ~' '~val.production_unit%}#} {# {% else %}#} {# {% set product_time_display = product_time_display ~',' ~val.production_days ~' '~val.production_unit%}#} {# {% endif %}#} {# {% endfor %}#} {# {% endfor %}#} {# {% if shipping_information.product is defined %}#} {# {% for key,value in shipping_information.product if key == 'weight'%}#} {# {% if value.param is defined and value.param != '' %}#} {# {% set weight_display = value.param ~value.unit %}#} {# {% endif %}#} {# {% endfor %}#} {# {% endif %}#}
| {{ 'goldstar_theme.products_detail.setup'|trans({},'goldstar') }} | {% if imprint_information.imprint_method_information !="" %} {% for key,val in imprint_information.imprint_method_information if val != "" %} {% if val.charges != "" and val.charges['SETUP_CHARGE'] is defined %} {% for key1,val1 in imprint_methods if key1 == key %} {% if val.charges['SETUP_CHARGE']['charge'] is defined and val.charges['SETUP_CHARGE']['charge']!='0.000' and val.charges['SETUP_CHARGE']['charge']!='' %} {% if setup_charges_display == '' %} {% set setup_charges_display = val.name ~' : '~ ob_project_currency_code ~ val.charges['SETUP_CHARGE']['charge'] %} {% else %} {% set setup_charges_display = setup_charges_display ~', '~ val.name ~' : '~ ob_project_currency_code ~ val.charges['SETUP_CHARGE']['charge'] %} {% endif %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %} {{ setup_charges_display }} |
|---|---|
| {{ 'goldstar_theme.products_detail.imprint_area'|trans({},'goldstar') }} | #} {#{{ imprint_area }} | #} {#
| {{ 'goldstar_theme.products_detail.ink_color'|trans({},'goldstar') }} | #} {#{{ ink_color_display }} | #} {#
| {{ 'goldstar_theme.products_detail.production_time'|trans({},'goldstar') }} | #} {#{{ product_time_display }} | #} {#
| {{ feature.label }} | {{ feature.value|html_entities|raw|nl2br }} |
| {{ (attr.label == 'Ink')?'Ink Color':attr.label }} | {{ clr_str|raw }} |
| {{ 'goldstar_theme.products_detail.weight'|trans({},'goldstar') }}#} {# | #} {#{{ weight_display }} | #} {#