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

Welcart Panetteria 1.1.10 をリリース

Welcart Panetteria 1.1.10 をリリースしました。


[更新内容]

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

    2021年4月1日から、商品の「総額表示」が義務化されます。
    税込価格での運用に切り替える場合は下記トピックを参照してください。

    ※税別価格で総額を表示させる場合には、Welcart 2.1.4 以降のバージョンをご利用いただく必要がございます。
  • 購入完了ページでカートエラー時のタイトル翻訳修正

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

Welcart Panetteria 本体をカスタマイズされていない場合は、当サイトのマイページより最新のテーマをダウンロードしていただき、運営されている WordPress の管理画面よりアップデートを行ってください。
Welcart Panetteria 本体をカスタマイズされている場合など、アップデートが行いえない場合は、下記の修正内容を元にテンプレート・CSS の修正を行ってください。

「総額表示」のテンプレートとCSSの対応について

①トップページの商品一覧

挿入箇所: welcart_panetteria/front-page.php 57行目

usces_crform_the_itemPriceCr_taxincluded

53 <div class="item-info-wrap">
54  <div class="block">
55   <div class="itemname"><?php usces_the_itemName(); ?></div>
56   <div class="itemprice"><?php usces_crform( usces_the_firstPrice('return'), true, false ) . usces_guid_tax(); ?></div>
57   <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
58   <?php welcart_panetteria_campaign_message(); ?>
59  </div>
60 </div>

②商品一覧ページ

挿入箇所: welcart_panetteria/category.php 85行目

usces_crform_the_itemPriceCr_taxincluded

82 <div class="item-info-wrap">
83  <div class="itemname"><?php usces_the_itemName(); ?></div>
84  <div class="itemprice"><?php usces_crform( usces_the_firstPrice('return'), true, false ) . usces_guid_tax(); ?></div>
85  <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
86  <?php welcart_panetteria_campaign_message(); // キャンペーンディスカウントメッセージ表示 ?>
87 </div>

③複合検索結果

挿入箇所: welcart_panetteria/wc_templates/wc_search_page.php 80行目

usces_crform_the_itemPriceCr_taxincluded

73 <div class="item-info-wrap">
74  <div class="block">
75   <div class="itemname">
76    <?php usces_the_itemName(); ?>
77   </div>
78   <div class="itemprice">
79    <?php usces_crform( usces_the_firstPrice('return'), true, false ) . usces_guid_tax(); ?>
80    <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
81   </div>
82   <?php welcart_panetteria_campaign_message(); ?>
83  </div>
84 </div>

④商品詳細ページ

1)通常物販

挿入箇所: welcart_panetteria/wc_templates/wc_item_single.php 136行目

usces_crform_the_itemPriceCr_taxincluded

131 <div class="field_price">
132 <?php if ( usces_the_itemCprice('return') > 0 ) : // 通常価格に値がある場合表示 ?>
133   <span class="field_cprice"><?php usces_the_itemCpriceCr(); ?></span>
134 <?php endif; ?>
135   <?php usces_the_itemPriceCr(); usces_guid_tax(); // 売価と消費税区分を表示 ?>
136   <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
137 </div>

2)SKU Select

挿入箇所: welcart_panetteria/wc_templates/wc_sku_select.php 108行目

wcex_sku_select_crform_the_itemPriceCr_taxincluded

102 <div class="field_price">
103 <?php if ( usces_the_itemCprice('return') > 0 ) : // 通常価格に値がある場合表示 ?>
104  <span class="field_cprice ss_cprice"><?php usces_the_itemCpriceCr(); ?></span>
105 <?php endif; ?>
106  <span class="sell_price ss_price"><?php usces_the_itemPriceCr(); // 売価を表示 ?></span>
107  <?php usces_guid_tax(); // 消費税区分を表示 ?>
108  <?php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?>
109 </div>

3)SKU Select(サービス)

挿入箇所: welcart_panetteria/wc_templates/wc_sku_select_service.php 112行目

wcex_sku_select_crform_the_itemPriceCr_taxincluded

106 <div class="field_price">                               
107 <?php if ( usces_the_itemCprice('return') > 0 ) : // 通常価格に値がある場合表示 ?>
108  <span class="field_cprice ss_cprice"><?php usces_the_itemCpriceCr(); ?></span>
109 <?php endif; ?>
110  <span class="sell_price ss_price"><?php usces_the_itemPriceCr(); // 売価を表示 ?></span>
111  <?php usces_guid_tax(); // 消費税区分を表示 ?>
112  <?php wcex_sku_select_crform_the_itemPriceCr_taxincluded(); ?>
113 </div>

4)DL Seller(データ)

挿入箇所: welcart_panetteria/wc_templates/wc_item_single_data.php 146行目

usces_crform_the_itemPriceCr_taxincluded

141 <div class="field_price">
142 <?php if ( usces_the_itemCprice( 'return' ) > 0 ) : // 通常価格に値がある場合表示 ?>
143  <span class="field_cprice"><?php usces_the_itemCpriceCr(); ?></span>
144 <?php endif; ?>
145  <?php usces_the_itemPriceCr(); usces_guid_tax(); // 売価と消費税区分を表示 ?>
146  <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
147 </div>

5)DL Seller(サービス)

挿入箇所: welcart_panetteria/wc_templates/wc_item_single_service.php 124行目

usces_crform_the_itemPriceCr_taxincluded

119 <div class="field_price">
120 <?php if ( usces_the_itemCprice( 'return' ) > 0 ) : // 通常価格に値がある場合表示 ?>
121  <span class="field_cprice"><?php usces_the_itemCpriceCr(); ?></span>
122 <?php endif; ?>
123  <?php usces_the_itemPriceCr(); usces_guid_tax(); // 売価と消費税区分を表示 ?>
124  <?php usces_crform_the_itemPriceCr_taxincluded(); ?>
125 </div>

6)通常物販 + Auto Delivery

挿入箇所: welcart_panetteria/inc/template-functions.php 153行目

wcad_crform_the_itemPriceCr_taxincluded

146 <div class="field">
147  <div class="zaikostatus"><?php _e('stock status', 'usces'); ?> : <?php usces_the_itemZaikoStatus(); ?></div>
148  <div class="field_price">
149  <?php if( usces_the_itemCprice('return') > 0 ) : ?>
150   <span class="field_cprice"><?php usces_the_itemCpriceCr(); ?></span>
151  <?php endif; ?>
152   <?php wcad_the_itemPriceCr(); ?><?php usces_guid_tax(); ?>
153   <?php wcad_crform_the_itemPriceCr_taxincluded(); ?>
154  </div>
155 </div>

7)SKU Select + Auto Delivery

挿入箇所: welcart_panetteria/inc/template-functions.php 244行目

wcex_sku_select_crform_the_itemRPriceCr_taxincluded

237 <div class="field">
238  <div class="zaikostatus"><?php _e('stock status', 'usces'); ?> : <span class="ss_stockstatus_regular"><?php usces_the_itemZaikoStatus(); ?></span></div>
239  <div class="field_price">
240  <?php if( usces_the_itemCprice('return') > 0 ) : ?>
241   <span class="field_cprice ss_cprice_regular"><?php usces_the_itemCpriceCr(); ?></span>
242  <?php endif; ?>
243   <span class="sell_price ss_price_regular"><?php wcad_the_itemPriceCr(); ?></span><?php usces_guid_tax(); ?>
244   <?php wcex_sku_select_crform_the_itemRPriceCr_taxincluded(); ?>
245  </div>
246 </div>

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

挿入箇所: welcart_panetteria/inc/widget.php 61行目

usces_crform_the_itemPriceCr_taxincluded

58 $list .= wcct_get_produt_tag() . "\n";
59 $list .= '<div class="item-info-wrap"><div class="inner">' . "\n";
60 $list .= '<div class="itemname">' . usces_the_itemName( 'return' ) . '</div>' . "\n";
61 $list .= '<div class="itemprice">' . usces_crform( usces_the_firstPrice( 'return' ), true, false, 'return' ) . usces_guid_tax( 'return' ) . '</div>' . usces_crform_the_itemPriceCr_taxincluded( true, '', '', '', true, false, true, 'return' ) . get_welcart_panetteria_campaign_message() . "\n";
62 $list .= '</div></div>' . "\n";
63 $list .= '</a>' . "\n";
64 $list .= '</article>';

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

挿入箇所: welcart_panetteria/inc/widget.php 124行目

usces_crform_itemPriceCr_taxincluded

122 if ( usces_have_zaiko_anyone( $post_id ) ) {
123  $list .= '<div class="itemprice">'.usces_crform( usces_the_firstPrice( 'return', $post ), true, false, 'return' ).usces_guid_tax('return').'</div>'."\n";
124  $list .= usces_crform_itemPriceCr_taxincluded( $post_id ) ."\n";
125 } else {
126  $skus = $usces->get_skus( $post_id );
127  $num = $skus[0]['stock'];
128  $list .= '<div class="itemsoldout">'.$usces->zaiko_status[$num].'</div>'."\n";
129 }

⑦スタイルの追加

挿入箇所: welcart_panetteria/style.css 4003行目

4003 /* ---- .tax_inc_block ---- */
4004 .tax_inc_block {
4005    font-size: 12px;
4006    font-weight: 100;
4007    display: inline-flex;
4008    align-items: center;
4009    color: #555;
4010    vertical-align: middle;
4011 }
4012 .widget .tax_inc_block {
4013    font-size: 12px;
4014 }
4015 .tax_inc_block em {
4016    margin-right: 0.429em;
4017 }