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

Welcart VOLL 1.0.12 をリリース

Welcart VOLL 1.0.12 をリリースしました。


[更新内容]

  • 税別価格での「総額表示」修正

    Welcart Voll 1.0.12では、2021年4月1日より義務化される商品の「総額表示」の修正をおこなっております。当サイトのマイページより最新のテーマをダウンロードしていただき、運営されている WordPress の管理画面よりアップデートを行ってください。
    ※ 税別価格で総額を表示させる場合には、Welcart のバージョンも 2.1.4 以降をご利用いただく必要がございます。また、親テーマの Welcart Basic も管理画面より最新バージョン(1.3.1 以降)にアップデートしてください。

アップデートが行えない場合

Welcart Voll 本体をカスタマイズされている場合は、下記の修正内容をもとにテンプレート・CSS の修正をおこなってください。

商品詳細ページの表示

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

usces_crform_the_itemPriceCr_taxincluded

タグ追加
welcart_basic-voll/wc_templates/wc_item_single.php 133行目
welcart_basic-voll/wc_templates/wc_item_single_data.php 121行目
welcart_basic-voll/wc_templates/wc_item_single_service.php 120行目

<div class="field_price">
<?php if( usces_the_itemCprice('return') > 0 ) : ?>
    <span class="field_cprice"><?php usces_the_itemCpriceCr(); ?></span>
<?php endif; ?>
    <?php usces_the_itemPriceCr(); ?><?php usces_guid_tax(); ?>
</div>
<?php usces_crform_the_itemPriceCr_taxincluded(); ?>

レイアウト調整

スタイル追加: usces_cart.css 208行目

.item-info .frequency {
    margin-bottom: 0;
}
/* ---- .tax_inc_block ---- */
.item-info .tax_inc_block {
    margin: 0;
}

WCEX SKU Select の対応

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

wcex_sku_select_crform_the_itemPriceCr_taxincluded

タグ追加
welcart_basic-voll/wc_templates/wc_sku_select.php 107行目
welcart_basic-voll/wc_templates/wc_sku_select.php 107行目

<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

タグ追加
welcart_basic-voll/inc/front-customized.php 83行目

<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(); ?>

WCEX Auto Delivery + WCEX SKU Select の対応

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

wcex_sku_select_crform_the_itemRPriceCr_taxincluded

タグ追加
welcart_basic-voll/inc/front-customized.php 190行目

<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_crform_the_itemPriceCr_taxincluded

タグ追加
welcart_basic-voll/front_page.php 163行目
welcart_basic-voll/category.php 54行目
welcart_basic-voll/search.php 41行目
welcart_basic-voll/wc_templates/wc_search_page.php 76行目

<?php welcart_basic_campaign_message(); ?>
<div class="itemname"><a href="<?php the_permalink(); ?>"  rel="bookmark"><?php usces_the_itemName(); ?></a></div>
<div class="itemprice"><?php usces_the_firstPriceCr() . usces_guid_tax(); ?></div>
<?php usces_crform_the_itemPriceCr_taxincluded(); ?>

レイアウト調整

スタイル追加: style.css 1133行目

.list-wrap .itemprice {
    font-size: 14px;
    font-weight: normal;
    letter-spacing: .5px;
    text-align: center;
}
/* ---- .tax_inc_block ---- */
.list-wrap .tax_inc_block {
    text-align: center;
}

関連商品

タグ追加: welcart_basic-voll/inc/front-customized.php 497行目

$str .= '</div>';
if ( usces_is_skus() ) {
    $str .= '<div class="itemprice">';
    $str .= usces_the_firstPriceCr('return') . usces_guid_tax('return'); //商品価格のHTML
    $str .= '</div>';
    $str .= usces_crform_the_itemPriceCr_taxincluded( true, '', '', '', true, false, true, 'return' );
}
$str .= '</div></li>';

スタイル追加: usces_cart.css 438行目

.assistance_item .itemprice {
    font-weight: normal;
    letter-spacing: .5px;
    text-align: center;
}
.assistance_item li .tax_inc_block {
    text-align: center;
}

ウィジェット

「Welcart 商品一覧」ウィジェット

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

usces_crform_the_itemPriceCr_taxincluded

タグ追加
welcart_basic-voll/inc/front-customized.php 468行目

    $html .= '<div class="itemprice">'. usces_the_firstPriceCr( 'return' ) . usces_guid_tax('return') . '</div>'."\n";
    $html .= usces_crform_the_itemPriceCr_taxincluded( true, '', '', '', true, false, true, 'return' );
$html .= '</div>' . "\n";

レイアウト調整

スタイル追加: style.css 2326行目

#secondary section {
    margin-bottom: 3.57em;
}
/* ———— .tax_inc_block ———— */
#secondary .list-wrap .tax_inc_block {
    clear: none;
    text-align: left;
}

「ベストセラー」ウィジェット

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

usces_crform_itemPriceCr_taxincluded

タグ追加
welcart_basic-voll/inc/front-customized.php 562行目

if( usces_have_zaiko_anyone( $post_id ) ) {
    $list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return', $post ) . usces_guid_tax('return') . '</div>'."\n";
$list .= usces_crform_itemPriceCr_taxincluded( $post_id );

レイアウト調整

スタイル追加: style.css 934行目

.widget_welcart_featured .itemprice,
.widget_welcart_bestseller .itemprice {
    width: auto;
    font-size: 14px;
    font-weight: normal;
    letter-spacing: .5px;
    text-align: center;
}
/* ---- .tax_inc_block ---- */
.widget_welcart_featured .tax_inc_block,
.widget_welcart_bestseller .tax_inc_block {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 12px;
    width: auto;
}

スタイル追加: style.css 2325行目

#secondary section {
    margin-bottom: 3.57em;
}
/* ---- .tax_inc_block ---- */
#secondary .list-wrap .tax_inc_block.
#secondary .widget_welcart_featured .tax_inc_block,
#secondary .widget_welcart_bestseller .tax_inc_block {
    text-align: left;
}

「おすすめ商品」ウィジェット

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

usces_crform_itemPriceCr_taxincluded

タグ追加
welcart_basic-voll/inc/front-customized.php 598行目

$list .= '<div class="itemname"><a href="'.get_permalink($post_id).'">' . $usces->getItemName($post_id).'</a></div>'."\n";
$list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return', $post ) . usces_guid_tax('return') . '</div>'."\n";
$list .= usces_crform_itemPriceCr_taxincluded( $post_id );