{% set setup_charges_display = '' %}
{% set ink_color_display = '' %}
{% set weight_display = '' %}
{% set product_time_display = '' %}
{% for key,val in item.imprint_information.imprint_method_information if val.production_days != ''%}
{% for key1,val1 in item.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 item.shipping_information.product is defined %}
{% for key,value in item.shipping_information.product if key == 'weight'%}
{% if value.param is defined and value.param != '' %}
{% set weight_display = value.param ~value.unit %}
{% endif %}
{% endfor %}
{% endif %}
{% if item.attributes is defined and item.attributes | length > 0 %}
{% for attr in item.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 %}
{% set imprint_area_flag = false %}
{% set imprint_area = '-' %}
{% set imprint_size = '-' %}
{% for key,val in item.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] is defined)?temp_data[1]:'-' %}
{% endif %}
{% endfor %}
{% set price_unit = (productinfo.priceUnit is defined and productinfo.priceUnit!='') ? productinfo.priceUnit : 'each' %}
|
|
|
Sender
Name : {{ userData.firstName }}
|
|
Message:
|
{% block usernote_block %}
{% endblock usernote_block %} |
|
|
|
|
|
Request Sample |
|
| {% block productname_block %}
{% endblock productname_block %} |
|
| {{ 'request_info_email.item_code' |trans({},'goldstar') }}
#{% block productsku_block %}
{% endblock productsku_block %} |
|
|
{% block productimage_block %}
{% endblock productimage_block %}
|
|
|
|
|
| {{ 'quantity_price'|trans({},'goldstar') }} |
{% if variationPricing is defined and variationPricing is not empty %}
| {{ 'request_info.quantity'|trans }}
{% set variationCount = 0 %}
{% for variationId,variationData in variationPricing %}
{% if variationCount == 0 %}
{% if variationData.pricing.decorative is defined %}
{% for priceRanges in variationData.pricing.decorative %}
|
{{ priceRanges.from_qty }}
{% if priceRanges.to_qty is defined and priceRanges.to_qty > 0 %}
{#} - {{ productinfo.productQuantityRequestInfo[ind+1].quantity-1 }}{#}
{% else %}
{{ "+" }}
{% endif %}
|
{% endfor %}
{% endif %}
{% endif %}
{% set variationCount = variationCount + 1 %}
{% endfor %}
|
{% set first_variation_data = '' %}
{% for variationId,variationData in variationPricing %}
| {{ variationData.variation_title }}({% if data.culture is defined and data.culture == 'en_ca' %}CDN{% endif %}{% if data.culture is defined and data.culture == 'en_us' %}USD{% endif %})* |
{% if variationData.pricing.decorative is defined %}
{% for priceRanges in variationData.pricing.decorative %}
{% if loop.first and first_variation_data != '' %}
{% for previous_price_ranges in first_variation_data.pricing.decorative %}
{% if priceRanges.from_qty > previous_price_ranges.from_qty %}
N/A |
{% endif %}
{% endfor %}
{% endif %}
${{ priceRanges.rate | currency }}
|
{% endfor %}
{% endif %}
{{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }} |
{# store variation data as previous variation data #}
{% if loop.first %}
{% set first_variation_data = variationData %}
{% endif %}
{% endfor %}
|
{% else %}
| {{ 'request_info.quantity'|trans }}
{{ (price_unit!='each')?('('~('piece_wise_price.'~price_unit)|trans({}, 'app')~')'):null }} |
{% for ind,qty in productinfo.productQuantityRequestInfo %}
{{ productinfo.productQuantityRequestInfo[ind].quantity }}
{% if productinfo.productQuantityRequestInfo[ind+1] is defined %}
{#} - {{ productinfo.productQuantityRequestInfo[ind+1].quantity-1 }}{#}
{% else %}
{{ "+" }}
{% endif %}
|
{% endfor %}
|
| {{ 'request_info.price'|trans }}({% if data.culture is defined and data.culture == 'en_ca' %}CDN{% endif %}{% if data.culture is defined and data.culture == 'en_us' %}USD{% endif %})* |
{% set discountCode = [] %}
{% if item.price_type is defined and item.price_type != 'call_for_price' %}
{% for ind,qty in productinfo.productQuantityRequestInfo %}
${{ qty.productPrice|currency }} |
{% if qty.discountCode !="" %}
{% set discountCode = discountCode|merge([qty.discountCode]) %}
{% endif %}
{% endfor %}
{% else %}
{{ 'call_for_price_price_range'| trans({},"app") }} |
{% endif %}
{% if discountCode is defined and discountCode|length >0 %}
({{ discountCode|characterCount|trim }}) |
{% endif %}
{{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }} |
|
{% endif %}
|
|
{% if data.culture is defined and data.culture == 'en_ca' %}
{{ 'display_product_price_currency_message_cdn'|trans({},'goldstar') }}
{% endif %}
{% if data.culture is defined and data.culture == 'en_us' %}
{{ 'display_product_price_currency_message'|trans({},'goldstar') }}
{% endif %}
|
|
| Product Features |
|
|
|
| {{ 'goldstar_theme.products_detail.setup'|trans({},'goldstar') }} |
{% if item.imprint_information.imprint_method_information !="" %}
{% for key,val in item.imprint_information.imprint_method_information if val != "" %}
{% if val.charges != "" and val.charges['SETUP_CHARGE'] is defined %}
{% for key1,val1 in item.imprint_methods if key1 == key %}
{% if loop.first %}
{#} {{ (val.charges['SETUP_CHARGE']['charge'] is defined)?val.charges['SETUP_CHARGE']['charge']:"" ~' '~(val.charges['SETUP_CHARGE']['code'] is defined)?val.charges['SETUP_CHARGE']['code']:"" }}#}
{% if val.charges['SETUP_CHARGE']['charge'] is defined %}
{% if (val.charges['SETUP_CHARGE']['charge'] is iterable) %}
{% include 'OfficeBrainCustomBundleThemeBundle:'~ob_project_instance_theme~':ProductDetail/Elements/imprintAdditionalQtyWisePricePanel.html.twig' with {'show_heading':true , 'price_type' : item.price_type ,'price_array':val.charges['ADDITIONAL_LOCATION_CHARGE']['charge'], 'show_print_price_table':false,'show_table':false } %}
{% else %}
{% set setup_charges_display = ob_project_currency_code ~(val.charges['SETUP_CHARGE']['charge'] is defined)?val.charges['SETUP_CHARGE']['charge']:"" %}
{% endif %}
{% endif %}
{% else %}
{% set setup_charges_display = setup_charges_display ~ ','~ val.charges['SETUP_CHARGE']['charge'] ~' '~val.charges['SETUP_CHARGE']['code'] %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{{ setup_charges_display }}
|
{% if imprint_area is defined and imprint_area != '-' %}
| {{ 'goldstar_theme.products_detail.imprint_area'|trans({},'goldstar') }} |
{{ imprint_area }} |
{% endif %}
{% if ink_color_display != '' %}
| {{ 'goldstar_theme.products_detail.ink_color'|trans({},'goldstar') }} |
{{ ink_color_display }} |
{% endif %}
{% if weight_display != '' %}
| {{ 'goldstar_theme.products_detail.weight'|trans({},'goldstar') }} |
{{ weight_display }} |
{% endif %}
{% if product_time_display != '' %}
| {{ 'goldstar_theme.products_detail.production_time'|trans({},'goldstar') }} |
{{ product_time_display }} |
{% endif %}
|
|
|
|
|
|
|
|
|
|
|
lf you have any questions, please contact our
customer service team at info@goldstar.com
|
|
|
|
|
|
|
|
|
|
|
| {{ 'transaction.order_confirmation.copyrights'|trans({},'goldstar') }}
| |
| ASI
73295 | PPAI 114031 | UPIC GLD STAR | SAGE 57190 |
|
|
|