Welcart Carina 1.0.12 をリリースしました。
[更新内容]
-
税別価格での「総額表示」修正
Welcart Carina 1.0.12では、2021年4月1日より義務化される商品の「総額表示」の修正をおこなっております。当サイトのマイページより最新のテーマをダウンロードしていただき、運営されている WordPress の管理画面よりアップデートを行ってください。
※ 税別価格で総額を表示させる場合には、Welcart のバージョンも 2.1.4 以降をご利用いただく必要がございます。また、親テーマの Welcart Basic も管理画面より最新バージョン(1.3.1 以降)にアップデートしてください。
アップデートが行えない場合
Welcart Carina 本体をカスタマイズされている場合は、下記の修正内容をもとにテンプレート・CSS の修正をおこなってください。
「総額表示」のテンプレートとCSSの対応について
①トップページの商品一覧
挿入箇所: welcart_basic-carina/front-page.php 108行目
usces_crform_the_itemPriceCr_taxincluded
103 < div class = "itemprice" > 104 <? php if ( usces_the_firstCprice( 'return' ) > 0 ) : ?> 105 < span class = "itemcprice" ><? php usces_the_firstCPriceCr(); ?></ span > 106 <? php endif; ?> 107 <? php usces_the_firstPriceCr() . usces_guid_tax(); ?> 108 <? php usces_crform_the_itemPriceCr_taxincluded(); ?> 109 </ div > |
スタイルの追加
挿入箇所: welcart_basic-carina/style.css 834行目
834 /* ---- .tax_inc_block ---- */ 835 .front-il .tax_inc_block em { 836 color: #fff; 837 } |
②商品一覧ページ
挿入箇所: welcart_basic-carina/category.php 66行目
usces_crform_the_itemPriceCr_taxincluded
61 < div class = "itemprice" > 62 <? php if ( usces_the_firstCprice( 'return' ) > 0 ) : ?> 63 < span class = "itemcprice" ><? php usces_the_firstCPriceCr(); ?></ span > 64 <? php endif; ?> 65 <? php usces_the_firstPriceCr() . usces_guid_tax(); ?> 66 <? php usces_crform_the_itemPriceCr_taxincluded(); ?> 67 </ div > |
③複合検索結果
挿入箇所: welcart_basic-carina/wc_templates/wc_search_page.php 78行目
usces_crform_the_itemPriceCr_taxincluded
73 < div class = "itemprice" > 74 <? php if ( usces_the_firstCprice( 'return' ) > 0 ) : ?> 75 < span class = "itemcprice" ><? php usces_the_firstCPriceCr(); ?></ span > 76 <? php endif; ?> 77 <? php usces_the_firstPriceCr() . usces_guid_tax(); ?> 78 <? php usces_crform_the_itemPriceCr_taxincluded(); ?> 79 </ div > |
④商品詳細ページ
1)通常物販
挿入箇所: welcart_basic-carina/wc_templates/wc_item_single.php 120行目
usces_crform_the_itemPriceCr_taxincluded
115 < div class = "field_price" > 116 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 117 < span class = "field_cprice" ><? php usces_the_itemCpriceCr(); ?></ span > 118 <? php endif; ?> 119 <? php usces_the_itemPriceCr(); ?><? php usces_guid_tax(); ?> 120 <? php usces_crform_the_itemPriceCr_taxincluded(); ?> 121 </ div > |
2)SKU Select
挿入箇所: welcart_basic-carina/wc_templates/wc_sku_select.php 105行目
wcex_sku_select_crform_the_itemPriceCr_taxincluded
100 < div class = "field_price" > 101 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 102 < span class = "field_cprice ss_cprice" ><? php usces_the_itemCpriceCr(); ?></ span > 103 <? php endif; ?> 104 < span class = "sell_price ss_price" ><? php usces_the_itemPriceCr(); ?></ span ><? php usces_guid_tax(); ?> 105 <? php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?> 106 </ div > |
3)SKU Select(サービス)
挿入箇所: welcart_basic-carina/wc_templates/wc_sku_select_service.php 104行目
wcex_sku_select_crform_the_itemPriceCr_taxincluded
99 < div class = "field_price" > 100 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 101 < span class = "field_cprice ss_cprice" ><? php usces_the_itemCpriceCr(); ?></ span > 102 <? php endif; ?> 103 < span class = "sell_price ss_price" ><? php usces_the_itemPriceCr(); ?></ span ><? php usces_guid_tax(); ?> 104 <? php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?> 105 </ div > |
4)DL Seller(データ)
挿入箇所: welcart_basic-carina/wc_templates/wc_item_single_data.php 112行目
usces_crform_the_itemPriceCr_taxincluded
107 < div class = "field_price" > 108 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 109 < span class = "field_cprice" ><? php usces_the_itemCpriceCr(); ?></ span > 110 <? php endif; ?> 111 <? php usces_the_itemPriceCr(); ?><? php usces_guid_tax(); ?> 112 <? php usces_crform_the_itemPriceCr_taxincluded(); ?> 113 </ div > |
5)DL Seller(サービス)
挿入箇所: welcart_basic-carina/wc_templates/wc_item_single_service.php 104行目
usces_crform_the_itemPriceCr_taxincluded
99 < div class = "field_price" > 100 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 101 < span class = "field_cprice" ><? php usces_the_itemCpriceCr(); ?></ span > 102 <? php endif; ?> 103 <? php usces_the_itemPriceCr(); ?><? php usces_guid_tax(); ?> 104 <? php usces_crform_the_itemPriceCr_taxincluded(); ?> 105 </ div > |
6)通常物販 + Auto Delivery
挿入箇所: welcart_basic-carina/inc/front-customized.php 64行目
wcad_crform_the_itemPriceCr_taxincluded
59 < div class = "field_price" > 60 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 61 < span class = "field_cprice" ><? php usces_the_itemCpriceCr(); ?></ span > 62 <? php endif; ?> 63 <? php wcad_the_itemPriceCr(); ?><? php usces_guid_tax(); ?> 64 <? php wcad_crform_the_itemPriceCr_taxincluded(); ?> 65 </ div > |
7)SKU Select + Auto Delivery
挿入箇所: welcart_basic-carina/inc/front-customized.php 162行目
wcex_sku_select_crform_the_itemRPriceCr_taxincluded
157 < div class = "field_price" > 158 <? php if( usces_the_itemCprice('return') > 0 ) : ?> 159 < span class = "field_cprice ss_cprice_regular" ><? php usces_the_itemCpriceCr(); ?></ span > 160 <? php endif; ?> 161 < span class = "sell_price ss_price_regular" ><? php wcad_the_itemPriceCr(); ?></ span ><? php usces_guid_tax(); ?> 162 <? php wcex_sku_select_crform_the_itemRPriceCr_taxincluded(); ?> 163 </ div > |
⑤「商品一覧」ウィジェット
挿入箇所: welcart_basic-carina/inc/front-customized.php 480行目
usces_crform_the_itemPriceCr_taxincluded
475 $list .= '< div class = "itemprice" >' . "\n"; 476 if ( usces_the_firstCprice( 'return' ) > 0 ) { 477 $list .= '< span class = "itemcprice" >' . usces_the_firstCPriceCr( 'return' ) . '</ span >' . "\n"; 478 } 479 $list .= usces_the_firstPriceCr( 'return' ) . usces_guid_tax( 'return' ) . "\n"; 480 $list .= '</ div >' . usces_crform_the_itemPriceCr_taxincluded( true, '', '', '', true, false, true, 'return' ) . "\n"; 481 $list .= get_welcart_basic_campaign_message() . "\n"; |
スタイルの追加
挿入箇所: welcart_basic-carina/style.css 766行目
766 /* ---- .widget .tax_inc_block ---- */ 767 .widget .item-list .tax_inc_block em { 768 color: #333; 769 } 770 .home-widget .widget_basic_item_list .tax_inc_block { 771 margin: -1.5em 0 0 0; 772 } 773 .home-widget .widget .item-list .tax_inc_block em { 774 color: #fff; 775 } |