custom/plugins/HBCTheme/src/Resources/views/storefront/page/product-detail/buy-widget-price.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/page/product-detail/buy-widget-price.html.twig' %}
  2. {% block page_product_detail_price_inner %}
  3. {{ parent() }}
  4.     {% if config('HBCTheme.config.dynmaicGroup') in page.product.streamIds and context.customer and config('HBCTheme.config.exclusionRule') not in context.ruleIds %}
  5.         {% set discountSteps = config('HBCTheme.config.mengenRabatt')|split(';') %}
  6.         <p class="mass-discount">
  7.         {% for discountStep in discountSteps %}
  8.             {% set step = discountStep|trim|split(',') %}
  9.             {% if step.0 and step.1 %}
  10.                 {{ 'hbc.massDiscountText'|trans({'%mass%': step.0, '%discount%' : step.1}) }} <br>
  11.             {% endif %}
  12.         {% endfor %}
  13.         </p>
  14.     {% endif %}
  15. {% endblock %}
  16.  {% block page_product_detail_was_price_badge %}
  17.  {% endblock %}
  18. {% block page_product_detail_was_price_wrapper %}
  19. {% endblock %}