Welcart Nova 1.1.13 をリリースしました。
[更新内容]
-
税別価格での「総額表示」の修正
Welcart Nova 1.1.13では、2021年4月1日より義務化される商品の「総額表示」の修正をおこなっております。当サイトのマイページより最新のテーマをダウンロードしていただき、運営されている WordPress の管理画面よりアップデートを行ってください。
※ 税別価格で総額を表示させる場合には、Welcart のバージョンも 2.1.4 以降をご利用いただく必要がございます。また、親テーマの Welcart Basic も管理画面より最新バージョン(1.3.1 以降)にアップデートしてください。
アップデートが行えない場合
Welcart Nova 本体をカスタマイズされている場合は、下記の修正内容をもとにテンプレート・CSS の修正をおこなってください。
商品詳細ページの表示
売価の税込価格表示テンプレートタグの追加
usces_crform_the_itemPriceCr_taxincluded
タグ追加:
welcart_basic-nova/wc_templates/wc_item_single.php 119行目
welcart_basic-nova/wc_templates/wc_item_single_data.php 115行目
welcart_basic-nova/wc_templates/wc_item_single_service.php 106行目
<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 375行目
.item-info .field_price em {
font-size: 12px;
letter-spacing: normal;
}
/* ---- .tax_inc_block ---- */
.item-info .tax_inc_block {
margin: 0;
}
WCEX SKU Select の対応
売価の税込価格表示テンプレートタグの追加
wcex_sku_select_crform_the_itemPriceCr_taxincluded
タグ追加:
welcart_basic-nova/wc_templates/wc_sku_select.php 117行目
welcart_basic-nova/wc_templates/wc_sku_select.php 106行目
<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-nova/inc/front-customized.php 65行目
<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-nova/inc/front-customized.php 164行目
<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-nova/front_page.php 100行目
welcart_basic-nova/category.php 65行目
welcart_basic-nova/search.php 46行目
welcart_basic-nova/wc_templates/wc_search_page.php 79行目
<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 1112行目
.item-info-wrap .itemprice .tax {
font-size: 11px;
letter-spacing: normal;
}
/* ---- .tax_inc_block ---- */
.type-grid .tax_inc_block,
.search-li .tax_inc_block {
text-align: center;
}
スタイル追加: usces_cart.css 735行目
.assistance_item li .detail .assist_price {
color: #3c3c3c;
font-size: 14px;
letter-spacing: 2px;
text-align: center;
}
.assistance_item li .detail p {
text-align: center;
}
ウィジェット
「Welcart 商品一覧」ウィジェット
売価の税込価格表示テンプレートタグの追加
usces_crform_the_itemPriceCr_taxincluded
タグ追加:
welcart_basic-nova/inc/front-customized.php 474行目
$list .= '<div class="itemname">' . usces_the_itemName( 'return' ) . '</div>' . "\n"; $list .= '<div class="itemprice">' . usces_the_firstPriceCr( 'return' ) . usces_guid_tax( 'return' ) . '</div>' . "\n"; $list .= usces_crform_the_itemPriceCr_taxincluded( true, '', '', '', true, false, true, 'return' ); $list .= get_welcart_basic_campaign_message() . "\n";
レイアウト調整
スタイル追加: style.css 897行目
.home #secondary .widget_basic_item_list .tax_inc_block em {
color: #fff;
}
スタイル追加: css/parts.css 11行目
#secondary .widget {
padding: 0 15px;
margin-bottom: 40px;
}
.two-column .widget_basic_item_list .itemprice,
.two-column .widget_basic_item_list .tax_inc_block em {
color: #fff;
}
スタイル追加: css/parts.css 462行目
@media screen and (min-width: 62.5em) {} 内に追加
.widget_welcart_search .searchtext,
.widget_welcart_login input.loginmail,
.widget_welcart_login input.loginpass,
.widget_search .search-text {
color: #3c3c3c;
}
/* ---- .tax_inc_block ---- */
.two-column .widget_basic_item_list .itemprice,
.two-column .widget_basic_item_list .tax_inc_block em {
color: inherit;
}
「ベストセラー」ウィジェット
レイアウト調整
スタイル追加: style.css 810行目
.widget_welcart_bestseller .itemsoldout {
color: #fff;
float: right;
}
/* ---- .tax_inc_block ---- */
.widget_welcart_bestseller .tax_inc_block {
float: right;
color: #fff;
padding: 0;
}
.widget_welcart_bestseller .tax_inc_block em {
color: inherit;
}
スタイル追加: css/parts.css 459行目
/* ---- .tax_inc_block ---- */
.two-column .widget_welcart_bestseller .tax_inc_block,
.two-column .widget_welcart_bestseller .tax_inc_block em {
color: #3c3c3c;
}
.two-column .widget_basic_item_list .itemprice,
.two-column .widget_basic_item_list .tax_inc_block em {
color: inherit;
}




