Welcart Bordeaux 1.1.10 をリリースしました。
[更新内容]
-
税別価格での「総額表示」修正
Welcart Bordeaux 1.0.10では、2021年4月1日より義務化される商品の「総額表示」の修正をおこなっております。当サイトのマイページより最新のテーマをダウンロードしていただき、運営されている WordPress の管理画面よりアップデートを行ってください。
※ 税別価格で総額を表示させる場合には、Welcart のバージョンも 2.1.4 以降をご利用いただく必要がございます。また、親テーマの Welcart Basic も管理画面より最新バージョン(1.3.1 以降)にアップデートしてください。
アップデートが行えない場合
Welcart Bordeaux 本体をカスタマイズされている場合は、下記の修正内容をもとにテンプレート・CSS の修正をおこなってください。
「総額表示」のテンプレートとCSSの対応について
①トップページの商品一覧
挿入箇所: welcart_basic-bordeaux/front-page.php 65行目
usces_crform_the_itemPriceCr_taxincluded
62 <?php wcct_produt_tag(); ?> 63 <?php welcart_basic_campaign_message(); ?> 64 <div class="itemprice"><?php usces_the_firstPriceCr() . usces_guid_tax(); ?></div> 65 <?php usces_crform_the_itemPriceCr_taxincluded(); ?> 66 <div class="itemname"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php usces_the_itemName(); ?></a></div>
スタイルの追加
挿入箇所: welcart_basic-bordeaux/style.css 840行目
840 /* ---- .tax_inc_block ---- */
841 .front-il .tax_inc_block {
842 margin-top: -6px;
843 }
②商品一覧ページ
挿入箇所: welcart_basic-bordeaux/category.php 78行目
usces_crform_the_itemPriceCr_taxincluded
75 <div class="item-info-wrap"> 76 <div class="itemname"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php usces_the_itemName(); ?></a></div> 77 <div class="itemprice"><?php usces_the_firstPriceCr() . usces_guid_tax(); ?></div> 78 <?php usces_crform_the_itemPriceCr_taxincluded(); ?> 79 </div><!-- item-info-box -->
スタイルの追加
挿入箇所: welcart_basic-bordeaux/style.css 1001行目
1001 /* ---- .tax_inc_block ---- */
1002 .cat-il .tax_inc_block {
1003 margin-top: -6px;
1004 }
③複合検索結果
挿入箇所: welcart_basic-bordeaux/wc_templates/wc_search_page.php 77行目
usces_crform_the_itemPriceCr_taxincluded
75 <?php welcart_basic_campaign_message(); ?> 76 <div class="itemprice"><?php usces_the_firstPriceCr() . usces_guid_tax(); ?></div> 77 <?php usces_crform_the_itemPriceCr_taxincluded(); ?> 78 <div class="itemname"><a href="<?php the_permalink() ?>" rel="bookmark"><?php usces_the_itemName(); ?></a></div>
スタイルの追加
挿入箇所: welcart_basic-bordeaux/style.css 1259行目
1259 /* ---- .tax_inc_block ---- */
1260 .search-li .tax_inc_block {
1261 margin-top: -6px;
1262 }
④商品詳細ページ
1)通常物販
挿入箇所: welcart_basic-bordeaux/wc_templates/wc_item_single.php 131行目
usces_crform_the_itemPriceCr_taxincluded
129 <tr class="field_price">
130 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
131 <td><?php usces_the_itemPriceCr(); ?><?php usces_crform_the_itemPriceCr_taxincluded(); ?></td>
132 </tr>
スタイルの追加
挿入箇所: welcart_basic-bordeaux/usces_cart.css 375行目
375 /* ---- .tax_inc_block ---- */
376 .item-info .tax_inc_block {
377 text-align: left;
378 color: #262626;
379 font-weight: 100;
380 }
挿入箇所: welcart_basic-bordeaux/usces_cart.css 1368行目
1368 /* ---- .tax_inc_block ---- */
1369 .item-info .tax_inc_block {
1370 display: inline-block;
1371 margin: 0 0 0 3px;
1372 }
2)SKU Select
挿入箇所: welcart_basic-bordeaux/wc_templates/wc_sku_select.php 129行目
wcex_sku_select_crform_the_itemPriceCr_taxincluded
127 <tr class="field_price">
128 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
129 <td><span class="sell_price ss_price"><?php usces_the_itemPriceCr(); ?></span><?php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?></td>
130 </tr>
3)SKU Select(サービス)
挿入箇所: welcart_basic-bordeaux/wc_templates/wc_sku_select_service.php 117行目
wcex_sku_select_crform_the_itemPriceCr_taxincluded
115 <tr class="field_price">
116 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
117 <td><span class="sell_price ss_price"><?php usces_the_itemPriceCr(); ?></span><?php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?></td>
118 </tr>
4)DL Seller(データ)
挿入箇所: welcart_basic-bordeaux/wc_templates/wc_item_single_data.php 123行目
usces_crform_the_itemPriceCr_taxincluded
121 <tr class="field_price">
122 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
123 <td><?php usces_the_itemPriceCr(); ?><?php usces_crform_the_itemPriceCr_taxincluded(); ?></td>
124 </tr>
5)DL Seller(サービス)
挿入箇所: welcart_basic-bordeaux/wc_templates/wc_item_single_service.php 117行目
usces_crform_the_itemPriceCr_taxincluded
115 <tr class="field_price">
116 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
117 <td><?php usces_the_itemPriceCr(); ?><?php usces_crform_the_itemPriceCr_taxincluded(); ?></td>
118 </tr>
6)通常物販 + Auto Delivery
挿入箇所: welcart_basic-bordeaux/inc/front-customized.php 73行目
wcad_crform_the_itemPriceCr_taxincluded
71 <tr class="field_price">
72 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
73 <td><?php wcad_the_itemPriceCr(); ?><?php wcad_crform_the_itemPriceCr_taxincluded(); ?></td>
74 </tr>
スタイルの追加
挿入箇所: welcart_basic-bordeaux/auto_delivery.css 56行目
#wc_regular .tax_inc_block {
margin-top: inherit;
}
7)SKU Select + Auto Delivery
挿入箇所: welcart_basic-bordeaux/inc/front-customized.php 184行目
wcex_sku_select_crform_the_itemRPriceCr_taxincluded
182 <tr class="field_price">
183 <th><?php _e('selling price', 'usces'); ?><?php usces_guid_tax(); ?></th>
184 <td><span class="sell_price ss_price_regular"><?php wcad_the_itemPriceCr(); ?></span><?php wcex_sku_select_crform_the_itemRPriceCr_taxincluded(); ?></td>
185 </tr>
⑤「商品一覧」ウィジェット
挿入箇所: welcart_basic-bordeaux/inc/front-customized.php 443行目
usces_crform_the_itemPriceCr_taxincluded
441 $list .= '<div class="item-info-wrap"><div class="inner">' . "\n"; 442 $list .= '<div class="itemname">' . usces_the_itemName( 'return' ) . '</div>' . "\n"; 443 $list .= '<div class="itemprice">' . usces_the_firstPrice( 'return' ) . usces_guid_tax( 'return' ) . '</div>' . usces_crform_the_itemPriceCr_taxincluded( true, '', '', '', true, false, true, 'return' ) . "\n"; 444 $list .= get_welcart_basic_campaign_message() . "\n"; 445 $list .= '</div></div>' . "\n";
スタイルの追加
挿入箇所: welcart_basic-bordeaux/style.css 348行目
348 /* ---- .widget .tax_inc_block ---- */
349 .widget_basic_item_list .tax_inc_block {
350 color: #262626;
351 }
⑥「ベストセラー」ウィジェット
スタイルの追加
挿入箇所: welcart_basic-bordeaux/style.css 352行目
352 .widget_welcart_bestseller .tax_inc_block {
353 text-align: left;
354 }




