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

Open in your IDE?
  1. {#
  2. # Project:      www.betten-abc.de
  3. # Company:      arboro GmbH
  4. # Created by:   Daniel Geike
  5. # Created on:   05.07.22
  6. # Description:
  7. #}
  8. {% sw_extends "@Storefront/storefront/page/product-detail/buy-widget-price.html.twig" %}
  9. {% block page_product_detail_was_price_badge %}
  10. {% endblock %}
  11. {% block page_product_detail_price_unit %}
  12.     {% if page.product.purchaseUnit > 1 %}
  13.         {{ parent() }}
  14.     {% endif %}
  15. {% endblock %}
  16. {% block page_product_detail_was_price_wrapper %}
  17.     <span class="product-detail-list-price-wrapper">
  18.         {% if beforeListPriceSnippetExists %}{{ "listing.beforeListPrice"|trans|trim }}{% endif %}
  19.         <span{% if not (afterListPriceSnippetExists or beforeListPriceSnippetExists) %} class="list-price-price"{% endif %}>{{ listPrice.price|currency }}{{ "general.star"|trans|sw_sanitize }}</span>
  20.         {% if afterListPriceSnippetExists %}
  21.             {{ "listing.afterListPrice"|trans|trim }}
  22.         {% endif %}
  23.     </span>
  24. {% endblock %}