Welcart Beldad 1.0.11 をリリースしました。
[更新内容]
- 
税別価格での「総額表示」修正
 Welcart Beldad 1.0.11では、2021年4月1日より義務化される商品の「総額表示」の修正をおこなっております。当サイトのマイページより最新のテーマをダウンロードしていただき、運営されている WordPress の管理画面よりアップデートを行ってください。 
 ※ 税別価格で総額を表示させる場合には、Welcart のバージョンも 2.1.4 以降をご利用いただく必要がございます。また、親テーマの Welcart Basic も管理画面より最新バージョン(1.3.1 以降)にアップデートしてください。
アップデートが行えない場合
Welcart Beldad 本体をカスタマイズされている場合は、下記の修正内容をもとにテンプレート・CSS の修正をおこなってください。
商品詳細ページの表示
売価の税込価格表示テンプレートタグの追加
usces_crform_the_itemPriceCr_taxincluded
タグ追加:
welcart_basic-beldad/wc_templates/wc_item_single.php 141行目
welcart_basic-beldad/wc_templates/wc_item_single_data.php 136行目
welcart_basic-beldad/wc_templates/wc_item_single_service.php 130行目
<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(); ?>
WCEX SKU Select の対応
売価の税込価格表示テンプレートタグの追加
wcex_sku_select_crform_the_itemPriceCr_taxincluded
タグ追加:
welcart_basic-beldad/wc_templates/wc_sku_select.php 127行目
welcart_basic-beldad/wc_templates/wc_sku_select.php 114行目
<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-beldad/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(); ?>
レイアウト調整
スタイル追加: auto_delivery.css 70行目
.item-info #wc_regular .skubutton {
    padding: 0 .714em;
}
#wc_regular .tax_inc_block {
    margin-top: 0;
}
WCEX Auto Delivery + WCEX SKU Select の対応
売価の税込価格表示テンプレートタグの追加
wcex_sku_select_crform_the_itemRPriceCr_taxincluded
タグ追加: welcart_basic-beldad/inc/front-customized.php 186行目
<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-beldad/front_page.php 259行目
welcart_basic-beldad/category.php 86行目
welcart_basic-beldad/search.php 53行目
welcart_basic-beldad/wc_templates/wc_search_page.php 73行目
<span class="title"><?php usces_the_itemName(); ?></span> <?php wcct_produt_tag(); ?> <span class="price"><?php usces_the_firstPriceCr(); ?><?php usces_guid_tax(); ?></span> <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
レイアウト調整
スタイル追加: style.css 1572行目
.product-list .price {
    text-align: center;
    color: #e00;
    margin-top: .833em;
}
/* ---- .tax_inc_block ---- */
.product-list .tax_inc_block {
    text-align: center;
    font-size:  12px;
}
.product-list .tax_inc_block em {
    margin-right: 3px;
}
関連商品
タグ追加:
welcart_basic-beldad/inc/front-customized.php 482行目
$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 506行目
.assistance_item .opt-tag li {
    float: none;
    display: inline-block;
    width: auto;
    margin-right: 0;
}
.assistance_item .tax_inc_block {
    margin-top: 0;
    text-align: left;
}
ウィジェット
レイアウト調整
スタイル追加: style.css 1030行目
#secondary .widget_basic_item_list .tax_inc_block,
#secondary .widget_welcart_featured .tax_inc_block,
#secondary .widget_welcart_bestseller .tax_inc_block {
    margin: 0;
}
#secondary .widget_welcart_featured .tax_inc_block {
    font-size: 12px;
}
#secondary .widget_welcart_featured .tax_inc_block em {
    margin-right: 3px;
}
/* -- .widget_welcart_post -- */
.widget_welcart_post li a {
スタイル追加: style.css 1859行目
/* -- .tax_inc_block -- */
.home-widget .widget_welcart_featured .tax_inc_block,
.home-widget .widget_basic_item_list .tax_inc_block,
.home-widget .widget_welcart_bestseller .tax_inc_block {
    margin-top: 0;
    padding: 0;
    text-align: center;
    width: auto;
}
.home-widget .widget_welcart_featured .tax_inc_block {
    font-size: 12px;
}
.home-widget .widget_welcart_featured .tax_inc_block em {
    margin-right: 3px;
}
.home-widget .widget_welcart_featured .opt-tag {
    margin: .833em 0;
}
「Welcart 商品一覧」ウィジェット
売価の税込価格表示テンプレートタグの追加
usces_crform_the_itemPriceCr_taxincluded
タグ追加:
welcart_basic-beldad/inc/front-customized.php 46行目
$html .= wcct_get_produt_tag() . "\n"; $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 .= get_welcart_basic_campaign_message() . "\n";
「ベストセラー」ウィジェット
売価の税込価格表示テンプレートタグの追加
usces_crform_itemPriceCr_taxincluded
タグ追加:
welcart_basic-beldad/inc/front-customized.php 130行目
$list .= wcct_get_produt_tag( $post_id ) . "\n";
$list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return', $post ) . usces_guid_tax('return') . '</div>' . "\n";
$list .= usces_crform_itemPriceCr_taxincluded( $post_id );
「おすすめ商品」ウィジェット
売価の税込価格表示テンプレートタグの追加
usces_crform_itemPriceCr_taxincluded
タグ追加:
welcart_basic-beldad/inc/front-customized.php 89行目
$list .= wcct_get_produt_tag( $post_id ) . "\n";
$list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return', $post ) . usces_guid_tax('return') . '</div>' . "\n";
$list .= usces_crform_itemPriceCr_taxincluded( $post_id );
	

 
				


 PAGE TOP
PAGE TOP