ソニーペイメントサービスの2つの決済モジュール

税別価格で「総額表示」にする場合のテーマでの対応

2021年4月1日から、商品の「総額表示」が義務化されます。
どうしても現在登録されている税抜価格のまま運用を続けたい場合は、税込価格を追記する必要があります。修正すべきテンプレートが複数あり、テーマや利用しているプラグインによっても異なります。スタイルシートも編集することになるので、ハードルが高く慣れている方でも非常に手間がかかります。
税込価格での運用に切り替える場合は下記トピックを参照してください。

追記するテンプレートタグ

税込価格を表示するテンプレートタグはWelcart v2.1.4 から利用ができます。

売価の税込価格表示テンプレートタグ

usces_crform_the_itemPriceCr_taxincluded

税込価格を表示するテンプレートタグになります。商品一覧ページや商品詳細ページで売価を表示しているあたりに追記してください。

<div class="itemprice"><?php usces_the_firstPriceCr(); usces_guid_tax(); ?></div>
<?php usces_crform_the_itemPriceCr_taxincluded(); ?>

WCEX SKU Select を利用していた場合

wcex_sku_select_crform_the_itemPriceCr_taxincluded

WCEX SKU Select を利用している場合、商品詳細ページに表示する税込価格テンプレートタグが異なります。
<div class="field_price">
<?php if( usces_the_itemCprice('return') > 0 ) : ?>
    <span class="field_cprice ss_cprice"><?php usces_the_itemCpriceCr(); ?></span>
<?php endif; ?>
    <span class="sell_price ss_price"><?php usces_the_itemPriceCr(); ?></span><?php usces_guid_tax(); ?>
</div>
<?php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?>

WCEX Auto Delivery を利用していた場合

wcad_crform_the_itemPriceCr_taxincluded

WCEX Auto Delivery を利用している場合、税込価格テンプレートタグが異なります。
テーマ側でカスタマイズをして書き換えている場合のみ修正が必要です。
<div class="field">
    <div class="zaikostatus"><?php _e('stock status', 'usces'); ?> : <?php usces_the_itemZaikoStatus(); ?></div>
    <div class="field_price">
    <?php if( usces_the_itemCprice('return') > 0 ) : ?>
        <span class="field_cprice"><?php usces_the_itemCpriceCr(); ?></span>
    <?php endif; ?>
        <?php wcad_the_itemPriceCr(); ?><?php usces_guid_tax(); ?>
    </div>
    <?php wcad_crform_the_itemPriceCr_taxincluded(); ?>
</div>

WCEX SKU SelectとWCEX Auto Delivery両方を利用していた場合

wcex_sku_select_crform_the_itemRPriceCr_taxincluded

WCEX SKU SelectWCEX Auto Delivery を利用している場合、商品詳細ページに表示する税込価格テンプレートタグが異なります。テーマ側でカスタマイズをして書き換えている場合のみ修正が必要です。
<div class="field_price">
<?php if( usces_the_itemCprice('return') > 0 ) : ?>
    <span class="field_cprice ss_cprice_regular"><?php usces_the_itemCpriceCr(); ?></span>
<?php endif; ?>
<span class="sell_price ss_price_regular"><?php wcad_the_itemPriceCr(); ?></span><?php usces_guid_tax(); ?>
</div>
<?php wcex_sku_select_crform_the_itemRPriceCr_taxincluded(); ?>

カートページに表示する消費税テンプレートタグ

usces_cart_tax()

<tr>
    <th class="num"></th>
    <th class="thumbnail"></th>
    <th colspan="3" scope="row" class="aright">
        <?php _e( 'consumption tax', 'usces' ); ?>
    </th>
    <th class="aright amount">
        <?php usces_crform( usces_cart_tax( 'return' ), true, false ); ?>
    </th>
    <th class="stock"></th>
    <th class="action"></th>
</tr>

Welcart 公式テーマでの対応方法

Welcart 公式テーマをご利用の場合、次期バージョンにアップデートすることで税込価格が追記されます。 もし、ご自身でテーマを修正されている場合は各テーマのリリース情報を参照してください。 親テーマ

子テーマ

この記事は役に立ちましたか?

0