{% sw_extends '@Storefront/storefront/page/product-detail/buy-widget-price.html.twig' %}
{% block page_product_detail_price_inner %}
{{ parent() }}
{% if config('HBCTheme.config.dynmaicGroup') in page.product.streamIds and context.customer and config('HBCTheme.config.exclusionRule') not in context.ruleIds %}
{% set discountSteps = config('HBCTheme.config.mengenRabatt')|split(';') %}
<p class="mass-discount">
{% for discountStep in discountSteps %}
{% set step = discountStep|trim|split(',') %}
{% if step.0 and step.1 %}
{{ 'hbc.massDiscountText'|trans({'%mass%': step.0, '%discount%' : step.1}) }} <br>
{% endif %}
{% endfor %}
</p>
{% endif %}
{% endblock %}
{% block page_product_detail_was_price_badge %}
{% endblock %}
{% block page_product_detail_was_price_wrapper %}
{% endblock %}