{% if show_heading %} {# {% set countryPrice = culture|split("_") %} {% set priceFor = country[countryPrice[1]].name %} {% set priceCurrency = country[countryPrice[1]].currency.currency %} {% if show_print_price_table %} {% else %}

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

{% endif %} #} {% else %} {% endif %} {#
#} {% if show_print_price_table == null %}
{{ 'quantity'| trans({},"app") }} {#{{ (price_unit!='each')?('('~('piece_wise_price.'~price_unit)|trans({}, 'app')~')'):null }}#}
{% if is_solr_data and special_price is defined and special_price == 'true' %}
{{ 'products_detail.price_old1'|trans({},'goldstar') }}
{{ 'products_detail.special'|trans({},'goldstar') }}
{% elseif price_charges.0.rate_orig is defined %}
{{ 'products_detail.price_old1'|trans({},'goldstar') }}
{{ 'products_detail.special'|trans({},'goldstar') }}
{% else %}
{{ 'products_detail.price'|trans }}
{% endif %}
{% endif %} {#
#} {% if show_print_price_table %}
{% if price_type == 'variations' %} {% set totalColumn = price_charges|length %} {% for variation_id,variation_data in price_charges %} {{variation_data["variation_title"]}} {% for key,rvc in variation_data.pricing %} {% endfor %} {% set discountCode = [] %} {% set discountOrigCode = [] %} {% if variation_data.pricing.decorative.0.rate_orig is defined %} {% for price_ranges in variation_data.pricing.decorative %} {% endfor %} {% else %} {% for price_ranges in variation_data.pricing.decorative %} {% endfor %} {% endif %}
{{ 'products_detail.quantity'|trans }} {{ key|capitalize }}
{{price_ranges.from}} {{ ob_project_currency_code }} {{ price_ranges.rate_orig | currency }} {% if price_ranges.code_orig !="" %} {% set discountOrigCode = discountOrigCode|merge([price_ranges.code_orig]) %} {% endif %} {{ ob_project_currency_code }} {{ price_ranges.rate | currency }} {% if price_ranges.code !="" %} {% set discountCode = discountCode|merge([price_ranges.code]) %} {% endif %}
  {% if prefix == "" and discountOrigCode is defined and discountOrigCode|length >0 %} ({{ discountOrigCode|characterCount|trim }}) {% else %} {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }} {% endif %} {% if prefix == "" and discountOrigCode is defined and discountOrigCode|length >0 %} ({{ discountOrigCode|characterCount|trim }}) {% else %} {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }} {% endif %}
{{price_ranges.from}} {{ ob_project_currency_code }} {{ price_ranges.rate | currency }} {% if price_ranges.code !="" %} {% set discountCode = discountCode|merge([price_ranges.code]) %} {% endif %}
  {% if prefix == "" and discountOrigCode is defined and discountOrigCode|length >0 %} ({{ discountOrigCode|characterCount|trim }}) {% else %} {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }} {% endif %}

{% endfor %} {% else %} {% if price_charges is defined %} {% set discountCode = [] %} {% set discountOrigCode = [] %} {% for rvc in price_charges %} {% if rvc.to is defined and rvc.to != '' %} {% set to_price = '-'~rvc.to %} {% else %} {% set to_price = '+' %} {% endif %} {% if rvc.rate is defined %} {% endif %} {% if prefix == "" and rvc.code_orig is defined and rvc.code_orig !="" %} {% set discountOrigCode = discountOrigCode|merge([rvc.code_orig]) %} {% else %} {% set discountOrigCode = 'goldstar_theme.products_detail.net'|trans({},"goldstar") %} {% endif %} {% if rvc.code is defined and rvc.code !="" %} {% set discountCode = discountCode|merge([rvc.code]) %} {% endif %} {% endfor %} {% endif %} {% if prefix == "" and discountCode is defined and discountCode|length>0 or discountOrigCode is defined and discountOrigCode|length>0 %} {% else %} {% endif %} {% if price_charges.0.rate_orig is defined %} {% set discountCode = [] %} {% set discountOrigCode = [] %} {% for rvc in price_charges %} {% if price_type is defined and price_type != 'call_for_price' %} {% if rvc.to is defined and rvc.to != '' %} {% set to_price = '-'~rvc.to %} {% else %} {% set to_price = '+' %} {% endif %} {% if rvc.rate_orig is defined %} {% endif %} {% if prefix == "" and rvc.code_orig is defined and rvc.code_orig !="" %} {% set discountOrigCode = discountOrigCode|merge([rvc.code_orig]) %} {% else %} {% set discountOrigCode = 'goldstar_theme.products_detail.net'|trans({},"goldstar") %} {% endif %} {% else %} {% endif %} {% endfor %} {% if prefix == "" and discountOrigCode is defined and discountOrigCode|length >0 %} {% else %} {% endif %} {% for rvc in price_charges %} {% if price_type is defined and price_type != 'call_for_price' %} {% if rvc.to is defined and rvc.to != '' %} {% set to_price = '-'~rvc.to %} {% else %} {% set to_price = '+' %} {% endif %} {% if rvc.rate is defined %} {% endif %} {% if rvc.code is defined and rvc.code !="" %} {% set discountCode = discountCode|merge([rvc.code]) %} {% endif %} {% else %} {% endif %} {% endfor %} {% if prefix == "" and discountCode is defined and discountCode|length >0 %} {% else %} {% endif %} {% else %} {% set discountCode = [] %} {% for rvc in price_charges %} {% if price_type is defined and price_type != 'call_for_price' %} {% if rvc.to is defined and rvc.to != '' %} {% set to_price = '-'~rvc.to %} {% else %} {% set to_price = '+' %} {% endif %} {% if rvc.code is defined and rvc.code !="" %} {% set discountCode = discountCode|merge([rvc.code]) %} {% endif %} {% else %} {% endif %} {% endfor %} {% if prefix == "" and discountCode is defined and discountCode|length >0 %} {% else %} {% endif %} {% endif %}
{{ 'products_detail.quantity'|trans }} {#{{ (price_unit!='each')?('('~('piece_wise_price.'~price_unit)|trans({}, 'app')~')'):null }}#} {{ rvc.from }} {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }}
{{ 'products_detail.price_old1'|trans({},'goldstar') }} {{ ob_project_currency_code }} {{ rvc.rate_orig | currency }} {{ 'call_for_price_price_range'| trans({},"app") }} ({{ discountOrigCode|characterCount|trim }}) {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }}
{{ 'products_detail.special'|trans({},'goldstar') }} {{ ob_project_currency_code }} {{ rvc.rate | currency }}{{ 'call_for_price_price_range'| trans({},"app") }} ({{ discountCode|characterCount|trim }}) {{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }}
{{ 'products_detail.price_old1'|trans({},'goldstar') }} {{ ob_project_currency_code }} {{ rvc.rate | currency }}{{ 'call_for_price_price_range'| trans({},"app") }}({{ discountCode|characterCount|trim }}){{ 'goldstar_theme.products_detail.net'|trans({},"goldstar") }}
{% endif %}
{% else %} {# #} {% endif %} {#
#} {#
#}