custom/plugins/AcrisDiscountGroupCS/src/Resources/views/storefront/component/product/card/price-unit.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/component/product/card/price-unit.html.twig' %}
  2. {% block component_product_box_price %}
  3.     {% set discountDisplayConfig = config('AcrisDiscountGroupCS.config.discountDisplayProductBox') %}
  4.     {% if discountDisplayConfig is empty or discountDisplayConfig == 'listPriceAndDiscount' %}
  5.         {{ parent() }}
  6.     {% else %}
  7.         <div class="acris-discount-{{ discountDisplayConfig }}">
  8.             {{ parent() }}
  9.         </div>
  10.     {% endif %}
  11. {% endblock %}