{% set show_heading = (show_heading is defined) ? show_heading : null %} {% set show_table = (show_table is defined) ? show_table : null %} {% set is_solr_data = (is_solr_data is defined) ? is_solr_data : null %} {% set price_charges = '' %} {% if is_solr_data == null %} {% if price_type == 'variations' %} {% set price_charges = (price_array.1.price is defined) ? price_array.1.price : null %} {% elseif price_type == 'regular' %} {% if price_array_type == 'decorative' %} {% set price_charges = (price_array.decorative is defined) ? price_array.decorative : null %} {% elseif price_array_type == 'blank' %} {% set price_charges = (price_array.blank is defined) ? price_array.blank : null %} {% else %} {% set price_charges = null %} {% endif %} {% endif %} {% endif %} {% if show_table == null %} {% if show_heading %}
| {{ 'quantity'| trans({},"app") }} | {% for variations_charges in price_charges %}{{ variations_charges.from }}{% if variations_charges.to is defined and variations_charges.to != '' %}{#}-{{ variations_charges.to }}{#}{% else %}+{% endif %} | {% endfor %}
|---|---|
| {{ 'price'| trans({},"app") }} | {% for variations_charges in price_charges %}{{ variations_charges.rate | currency }} | {% endfor %}