{#
* Plugin Name : CustomerRank
*
* Copyright (C) BraTech Co., Ltd. All Rights Reserved.
* http://www.bratech.co.jp/
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
#}
{% if CustomerRank %}
<p class="price_rank_name"><span>{{ CustomerRank.name }}{{ 'customerrank.common.customer_price'|trans }}</span></p>
<p class="customer_rank_price_default" id="customer_rank_price_default">
{% if Product.hasProductClass %}
{% if Product.getCustomerRankPriceMin(CustomerRank.id) == Product.getCustomerRankPriceMax(CustomerRank.id) %}<span class="ec-price__tax">{{ 'common.tax_include'|trans }}</span>
{{ Product.getCustomerRankPriceIncTaxMin(CustomerRank.id)|price }}
{% else %}
{{ Product.getCustomerRankPriceIncTaxMin(CustomerRank.id)|price }} ~ {{ Product.getCustomerRankPriceIncTaxMax(CustomerRank.id)|price }}<span class="ec-price__tax">{{ 'common.tax_include'|trans }}</span>
{% endif %}
{% else %}
{{ Product.getCustomerRankPriceIncTaxMin(CustomerRank.id)|price }}<span class="ec-price__tax">{{ 'common.tax_include'|trans }}</span>
{% endif %}
</p>
{% endif %}