{% set ifPrice = 'no2' %}
{% if ifPrice is same as ('no1') %}
{% if Product.getPrice01Min %}
<div class="ec-productRole__priceRegular price">
{% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
<span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:<span class="price01-default">{{ Product.getPrice01IncTaxMin|number_format }}円</span></span>
<span class="ec-productRole__priceRegularTax">{{ '(税込)'|trans }}</span>
{% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
<span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:<span class="price01-default">{{ Product.getPrice01IncTaxMin|number_format }}円~
{# {{ Product.getPrice01IncTaxMax|price }} #}
</span></span>
<span class="ec-productRole__priceRegularTax">{{ '(税込)'|trans }}</span>
{% endif %}
</div>
{% else %}
{% if Product.getPrice01Max is not null %}
<span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|number_format }}</span>
<span class="ec-productRole__priceRegularTax">{{ '(税込)'|trans }}</span>
{% endif %}
{% endif %}
{# 販売価格 #}
<div class="ec-productRole__price price">
{# {% if Product.hasProductClass -%} #}
{% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
<div class="ec-price">
価格:<span class="spanPrice ec-price__price price02-default">{{ Product.getPrice02IncTaxMin|number_format }}円</span>
<span class="ec-price__tax">{{ '(税込)'|trans }}</span>
</div>
{% else %}
<div class="ec-price">
価格:<span class="spanPrice ec-price__price price02-default">{{ Product.getPrice02IncTaxMin|number_format }}円~
{# {{ Product.getPrice02IncTaxMax|price }} #}
</span>
<span class="ec-price__tax">{{ '(税込)'|trans }}</span>
</div>
{% endif %}
{# {% else %}
<div class="ec-price">
価格:<span class="spanPrice ec-price__price">{{ Product.getPrice02IncTaxMin|number_format }}円</span>
<span class="ec-price__tax">{{ '税込'|trans }}</span>
</div>
{% endif %} #}
</div>
{% endif %}
{% if ifPrice is same as ('no2') %}
{% if Product.getPrice01Min %}
<div class="ec-productRole__priceRegular price">
{% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
<span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:<span class="price01-default">¥{{ Product.getPrice01IncTaxMin|number_format }}</span></span>
<span class="ec-productRole__priceRegularTax">{{ '(税込)'|trans }}</span>
{% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
<span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:<span class="price01-default">¥{{ Product.getPrice01IncTaxMin|number_format }}~
{# {{ Product.getPrice01IncTaxMax|price }} #}
</span></span>
<span class="ec-productRole__priceRegularTax">{{ '(税込)'|trans }}</span>
{% endif %}
</div>
{% else %}
{% if Product.getPrice01Max is not null %}
<span class="ec-productRole__priceRegularPrice">{{ '通常価格'|trans }}:{{ Product.getPrice01IncTaxMin|number_format }}</span>
<span class="ec-productRole__priceRegularTax">{{ '(税込)'|trans }}</span>
{% endif %}
{% endif %}
{# 販売価格 #}
<div class="ec-productRole__price price">
{# {% if Product.hasProductClass -%} #}
{% if Product.getPrice02IncTaxMin == Product.getPrice02IncTaxMax %}
<div class="ec-price">
価格:<span class="spanPrice ec-price__price price02-default">¥{{ Product.getPrice02IncTaxMin|number_format }}</span>
<span class="ec-price__tax">{{ '(税込)'|trans }}</span>
</div>
{% else %}
<div class="ec-price">
価格:<span class="spanPrice ec-price__price price02-default">¥{{ Product.getPrice02IncTaxMin|number_format }}~
{# {{ Product.getPrice02IncTaxMax|price }} #}
</span>
<span class="ec-price__tax">{{ '(税込)'|trans }}</span>
</div>
{% endif %}
{# {% else %}
<div class="ec-price">
価格:<span class="spanPrice ec-price__price">{{ Product.getPrice02IncTaxMin|number_format }}円</span>
<span class="ec-price__tax">{{ '税込'|trans }}</span>
</div>
{% endif %} #}
</div>
{% endif %}