app/Plugin/TaxManagement42/Resource/template/default/Product/list_sale_price.twig line 1

Open in your IDE?
  1. {% if options is not defined or options is null %}
  2.     {% set options = {
  3.         'price02OpenTag': '<span class="price02-default">',
  4.         'price02CloseTag' : '</span>',
  5.     } %}
  6. {% endif -%}
  7.     {# {{ options.price02OpenTag | raw }} #}
  8.     {% if TaxManagementConfig.isIncludeTaxFlag is not null and TaxManagementConfig.isIncludeTaxFlag == false -%}
  9.         {% if Product.hasProductClass %}
  10.             {% if Product.getPrice02Min == Product.getPrice02Max %}
  11.                 {{ Product.getPrice02Min|price }}
  12.             {% else %}
  13.                 {{ Product.getPrice02Min|price }} ~ {{ Product.getPrice02Max|price }}
  14.             {% endif %}
  15.         {% else %}
  16.             {{ Product.getPrice02Min|price }}
  17.         {% endif %}
  18.     {% else -%}
  19.         {% if Product.hasProductClass %}
  20.             {% if Product.getPrice02Min == Product.getPrice02Max %}
  21.                 {{ Product.getPrice02IncTaxMin|price }}
  22.             {% else %}
  23.                 {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  24.             {% endif %}
  25.         {% else %}
  26.             {{ Product.getPrice02IncTaxMin|price }}
  27.         {% endif %}
  28.     {% endif -%}
  29.     {# {{ options.price02CloseTag | raw }} #}
  30. {% if isIncludeDiscountRate is defined and isIncludeDiscountRate is not null and isIncludeDiscountRate == true -%}
  31.     {{ include('@TaxManagement42/default/Product/list_discount_rate.twig') }}
  32. {% endif -%}