{% if options is not defined or options is null %}
{% if Product.hasProductClass -%}
{% set options = {
'price01OpenTag': '<span class="ec-productRole__priceRegularPrice">' ~ '通常価格'|trans ~ ':<span class="price01-default">',
'price01CloseTag' : '</span></span>',
'price01IncTaxOpenTag' : '<span class="ec-productRole__priceRegularTax">',
'price01IncTaxCloseTag' : '</span>'
} %}
{% else %}
{% set options = {
'price01OpenTag': '<span class="ec-productRole__priceRegularPrice">' ~ '通常価格'|trans ~ ':',
'price01CloseTag' : '</span>',
'price01IncTaxOpenTag' : '<span class="ec-productRole__priceRegularTax">',
'price01IncTaxCloseTag' : '</span>'
}%}
{% endif %}
{% endif -%}
{% if Product.hasProductClass -%}
{% if (isCommentTagExist is defined and isCommentTagExist is not null and isCommentTagExist == true) -%}
<div class="ec-productRole__priceRegular">
{% endif -%}
{% if Product.getPrice01Min is not null and Product.getPrice01IncTaxMin == Product.getPrice01IncTaxMax %}
{{ options.price01OpenTag|raw }}{{ Product.getPrice01IncTaxMin|price }}{{ options.price01CloseTag|raw }}
{{ options.price01IncTaxOpenTag|raw }}{{ '税込'|trans }}{{ options.price01IncTaxCloseTag|raw }}
{% elseif Product.getPrice01Min is not null and Product.getPrice01Max is not null %}
{{ options.price01OpenTag|raw }}{{ Product.getPrice01IncTaxMin|price }} ~ {{ Product.getPrice01IncTaxMax|price }}{{ options.price01CloseTag|raw }}
{{ options.price01IncTaxOpenTag|raw }}{{ '税込'|trans }}{{ options.price01IncTaxCloseTag|raw }}
{% endif %}
{% if (isCommentTagExist is defined and isCommentTagExist is not null and isCommentTagExist == true) -%}
</div>
{% endif -%}
{% else %}
{% if Product.getPrice01Max is not null %}
{{ options.price01OpenTag|raw }}{{ Product.getPrice01IncTaxMin|price }}{{ options.price01CloseTag|raw }}
{{ options.price01IncTaxOpenTag|raw }}{{ '税込'|trans }}{{ options.price01IncTaxCloseTag|raw }}
{% endif %}
{% endif %}