app/template/default/Product/customer_price_list.twig line 1

Open in your IDE?
  1. {#
  2. * Plugin Name : CustomerRank
  3. *
  4. * Copyright (C) BraTech Co., Ltd. All Rights Reserved.
  5. * http://www.bratech.co.jp/
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. #}
  10. {% if CustomerRank %}
  11.     <p class="price_rank_name"><span>{{ CustomerRank.name }}{{ 'customerrank.common.customer_price'|trans }}</span></p>
  12.     <p class="customer_rank_price_default" id="customer_rank_price_default">
  13.         {% if Product.hasProductClass %}
  14.             {% if Product.getCustomerRankPriceMin(CustomerRank.id) == Product.getCustomerRankPriceMax(CustomerRank.id) %}<span class="ec-price__tax">{{ 'common.tax_include'|trans }}</span>
  15.                 {{ Product.getCustomerRankPriceIncTaxMin(CustomerRank.id)|price }}
  16.             {% else %}
  17.                 {{ Product.getCustomerRankPriceIncTaxMin(CustomerRank.id)|price }} ~ {{ Product.getCustomerRankPriceIncTaxMax(CustomerRank.id)|price }}<span class="ec-price__tax">{{ 'common.tax_include'|trans }}</span>
  18.             {% endif %}
  19.         {% else %}
  20.             {{ Product.getCustomerRankPriceIncTaxMin(CustomerRank.id)|price }}<span class="ec-price__tax">{{ 'common.tax_include'|trans }}</span>
  21.         {% endif %}
  22.     </p>
  23. {% endif %}