{% set price_unit = (product.priceUnit is defined and product.priceUnit!='') ? product.priceUnit : 'each' %}
| {{ '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 %}||
|---|---|---|---|
| {{ 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") }} |
| {{ 'request_info.quantity'|trans }}{# {{ (price_unit!='each')?('('~('piece_wise_price.'~price_unit)|trans({}, 'app')~')'):null }} #} | {% for ind,qty in product.productQuantityRequestInfo %}{{ product.productQuantityRequestInfo[ind].quantity }} {% if product.productQuantityRequestInfo[ind+1] is defined %} {#} - {{ productinfo.productQuantityRequestInfo[ind+1].quantity-1 }}{#} {% else %} {{ "+" }} {% endif %} | {% endfor %}||
| {{ 'request_info.price'|trans }} | {% for ind,qty in product.productQuantityRequestInfo %}{{ ob_project_currency_code }} {#{{ product.currency }}#} {{ qty.productPrice|currency }} | {% if qty.discountCode !="" %} {% set discountCode = discountCode|merge([qty.discountCode]) %} {% endif %} {% endfor %} {% if discountCode is defined and discountCode|length >0 and app.user|length == 0 %}({{ discountCode|characterCount|trim }}) | {% else %}{{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }} | {% endif %}
{{ request_info_note|nl2br }}
#} {#