{% set price = price|default(item.price()) %}

{% if price.official or item.oldPrice().integer %}
    <div class="mall-product__old-price">
        {% if price.official %}
            {{ price.official.string | raw }}
        {% else %}
            {{ item.oldPrice().string | raw }}
        {% endif %}
    </div>
{% endif %}
<div class="mall-product__current-price">
    {% partial __SELF__ ~ '::currentprice' price=price.string %}
</div>
