{% set trade_data = null %}
{% if is_trade_customer and trade_tier %}
    {% set trade_data = trade_pricing_service.getTradeDisplayData(item, null, trade_tier) %}
{% endif %}

<div class="itemPriceWrap{% if trade_data and trade_data.price is not null %} trade{% elseif item.sale_price > 0 %} sale{% endif %}">

        {% if trade_data and trade_data.price is not null %}
            {# Trade customer pricing #}
            {% if trade_data.savings > 0 %}
                <span class="percentageOff">Saving {{ trade_data.savings }}%</span>
            {% endif %}
            <span class="priceNow tradePrice">
                {% if item.sizes|length > 1 %}
                    <span class="priceText">{{ price_prefix_text }}</span>
                {% endif %}
                {{ trade_data.price|multi_currency|raw }}
            </span>
            {% if trade_data.savings > 0 and trade_data.original %}
                <span class="priceWas">{{ trade_data.original|multi_currency|raw }}</span>
            {% endif %}
            <span class="tradePriceLabel">Trade Price (ex. VAT)</span>
        {% elseif item.sale_price > 0 %}
            {% if item.percentage_off is not empty %}
                <span class="percentageOff">Save {{ item.percentage_off }}%</span>
            {% endif %}
            <span class="priceNow">
                {% if item.sizes|length > 1 %}
                    <span class="priceText">{{ price_prefix_text }}</span>
                {% endif %}
                {% if item.sale_price > 0 %}
                    {{ item.sale_price|multi_currency|raw }}
                    {% if item_high_price is not empty and show_item_high_price is not empty %}
                        &ndash; {{ item_high_price }}
                    {% endif %}
                {% endif %}
            </span>
            {% if item.price is not empty %}
                <span class="priceWas">Was {{ item.price|multi_currency|raw }}</span>
            {% endif %}
        {% elseif item.from_price > 0 %}
            <span class="priceNow">
                {% if price_prefix_text is not empty %}
                    <span class="priceText">{{ price_prefix_text }}</span>
                {% endif %}
                {{ item.from_price|multi_currency|raw }}
                {% if item_high_price is not empty and show_item_high_price is not empty %}
                    &ndash; {{ item_high_price }}
                {% endif %}
            </span>
        {% else %}
            {% if item.price > 0 %}
                <span class="priceNow">
                    {{ item.price|multi_currency|raw }}
                    {% if item_high_price is not empty and show_item_high_price is not empty %}
                        &ndash; {{ item_high_price }}
                    {% endif %}
                </span>
            {% endif %}
        {% endif %}


</div> <!-- .itemPriceWrap -->
