{% sw_extends '@Storefront/storefront/page/product-detail/buy-widget-price.html.twig' %}
{% block page_product_detail_was_price_badge %}
{% endblock %}
{% block page_product_detail_was_price_wrapper %}
<span class="product-detail-list-price-wrapper">
{% if beforeListPriceSnippetExists %}{{"listing.beforeListPrice"|trans|trim}}{% endif %}
<span class="statt">statt</span><span{% if not (afterListPriceSnippetExists or beforeListPriceSnippetExists) %} class="list-price-price"{% endif %}>{{ listPrice.price|currency }}{{ "general.star"|trans|sw_sanitize }}</span>
{% if afterListPriceSnippetExists %}
{{"listing.afterListPrice"|trans|trim}}
{% endif %}
</span>
<div class="list-price-percentage ">
{% block page_product_detail_was_price_badge2 %}
<span class="list-price-badge">%</span>
{% endblock %}
{{ "cur.detail.price.ersparnis"|trans|raw }} {{ (listPrice.discount * -1) |currency}}
</div>
{% endblock %}