{% set price_unit = (product.priceUnit is defined and product.priceUnit!='') ? product.priceUnit : 'each' %}

{{ product.productName }}

{{ 'request_info.item_code'|trans ({},'goldstar') }} : {{ product.productSku }}
{#}

{{ 'colors'|trans({},'goldstar') }}

{% if product.productAttributeRequestInfo|length>0 %}
{% for attr in product.productAttributeRequestInfo %} {% if attr.productRequestInfoId.id ==product.id and loop.first %} {# {{ attr.attributeName }}#} {#}
    {% endif %}
  • {% if attr.productRequestInfoId==product.id and loop.last %}
{% endif %} {% endfor %}
{% endif %} #}

{{ 'quantity_price'|trans({},'goldstar') }}

{% if product.productQuantityRequestInfo|length>0 or (variationPricing is defined and variationPricing is not empty) %} {% set discountCode = [] %}
{% if variationPricing is defined and variationPricing is not empty %} {% set variationCount = 0 %} {% for variationId,variationData in variationPricing %} {% if variationCount == 0 %} {% if variationData.pricing.decorative is defined %} {% for priceRanges in variationData.pricing.decorative %} {% endfor %} {% endif %} {% endif %} {% set variationCount = variationCount + 1 %} {% endfor %} {% set first_variation_data = '' %} {% for variationId,variationData in variationPricing %} {% 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 %} {% endif %} {% endfor %} {% endif %} {% endfor %} {% endif %} {# store variation data as previous variation data #} {% if loop.first %} {% set first_variation_data = variationData %} {% endif %} {% endfor %} {% else %} {% for ind,qty in product.productQuantityRequestInfo %} {% endfor %} {% for ind,qty in product.productQuantityRequestInfo %} {% if qty.discountCode !="" %} {% set discountCode = discountCode|merge([qty.discountCode]) %} {% endif %} {% endfor %} {% if discountCode is defined and discountCode|length >0 and app.user|length == 0 %} {% else %} {% endif %} {% endif %}
{{ 'request_info.quantity'|trans }} {{ priceRanges.from_qty }} {% if priceRanges.to_qty is defined and priceRanges.to_qty > 0 %} {#} - {{ productinfo.productQuantityRequestInfo[ind+1].quantity-1 }}{#} {% else %} {{ "+" }} {% endif %}  
{{ 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 %})*N/A ${{ priceRanges.rate | currency }} {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }}
{{ 'request_info.quantity'|trans }}{# {{ (price_unit!='each')?('('~('piece_wise_price.'~price_unit)|trans({}, 'app')~')'):null }} #} {{ product.productQuantityRequestInfo[ind].quantity }} {% if product.productQuantityRequestInfo[ind+1] is defined %} {#} - {{ productinfo.productQuantityRequestInfo[ind+1].quantity-1 }}{#} {% else %} {{ "+" }} {% endif %}  
{{ 'request_info.price'|trans }}{{ ob_project_currency_code }} {#{{ product.currency }}#} {{ qty.productPrice|currency }}({{ discountCode|characterCount|trim }}){{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }}

Product Summary

{{ 'admin.request_info.special_instructions'|trans }}
{{ request_info_note|nl2br }}
{#

{{ 'admin.request_info.special_instructions'|trans }}

#} {#
#} {#

{{ request_info_note|nl2br }}

#} {#
#}
{% endif %} {#

{{ 'request_info.product_detail'|trans }}

#} {#
#} {# {{ product.productDescription|raw }}#} {#
#}