2026/10/21更新
+ 更新した行
- 削除した行GMO 口座直結決済に対応
購入時にGMO 口座直結決済を利用できるようになりました。
本機能について
ご利用にはGMOペイメントゲートウェイ社との契約が必要です。
外部連携アカウントの設定をしたうえで、支払い方法管理から「GMO 口座直結決済」を有効にしてください。
cart > 支払い方法(部分テンプレート)
ec_force/shop/orders/_view_payment_information.html.liquid
ec_force/shop/orders/_view_payment_information.html+smartphone.liquid
<!-- クレジットカード入力(スマートフォン用) ここまで -->
</div>
+ <div id="gmo-bank-direct-area" style="display:none;">
+ <label>金融機関</label>
+ <label>必須</label>
+ <div class="gmo-bank-direct-content">
+ <p class="gmo-bank-direct-loading">読み込み中...</p>
+ </div>
+ </div>
</div>mypage > 購入履歴詳細画面 基本情報
ec_force/shop/customer/orders/show.html.liquid
ec_force/shop/customer/orders/show.html+smartphone.liquid
<!-- 支払い方法(任意) -->
{{ order.payment_method.name }}
{% if order.payment_later_card_converted? %}
カード払い利用
{% endif %}
+ {% if gmo_bank_account != blank %}
+ <!-- 銀行口座 -->
+ {% include 'ec_force/shop/shared/gmo_bank_account_content.html' %}
+ {% endif %}
<!-- 分割回数(任意) -->mypage > 定期注文詳細画面 基本情報
ec_force/shop/customer/subs_orders/show.html.liquid
ec_force/shop/customer/subs_orders/show.html+smartphone.liquid
<!-- 支払い方法 -->
{{ subs_order.payment.payment_method.name }}
+{% if gmo_bank_account != blank %}
+ <!-- 次回請求銀行口座 -->
+ {% include 'ec_force/shop/shared/gmo_bank_account_content.html' %}
+{% endif %}
<!-- 配送サイクル -->mypage > 定期注文詳細画面 基本情報の編集
ec_force/shop/customer/subs_orders/edit.html.liquid
ec_force/shop/customer/subs_orders/edit.html+smartphone.liquid
{% endif %}
</div>
+ {% include 'ec_force/shop/shared/gmo_bank_account.html' %}
<!-- 分割回数 -->mypage > 定期注文詳細画面 購入情報
ec_force/shop/customer/subs_orders/orders/index.html.liquid
ec_force/shop/customer/subs_orders/orders/index.html+smartphone.liquid
<!-- 支払い方法(任意) -->
{{ order.payment.payment_method.name }}
+ {% if order.payment.gmo_bank_account != blank %}
+ {% include 'ec_force/shop/shared/gmo_bank_account_content.html', gmo_bank_account: order.payment.gmo_bank_account %}
+ {% endif %}
<!-- 分割回数(任意) -->shared_partial > gmo_bank_account(部分テンプレート)
ec_force/shop/shared/_gmo_bank_account.html.liquid
新規追加ファイルです。
詳細はgmo_bank_account(部分テンプレート)をご確認ください。
shared_partial > gmo_bank_account_content(部分テンプレート)
ec_force/shop/shared/_gmo_bank_account_content.html.liquid
新規追加ファイルです。
詳細はgmo_bank_account_content(部分テンプレート)をご確認ください。
まとめ買い割引が適用されるキャンペーンの表示を複数キャンペーン表示に対応
条件を満たしたキャンペーンごとに、キャンペーン名と割引内容を表示します。
cart > カート画面
ec_force/shop/carts/show.html.liquid
ec_force/shop/carts/show.html+smartphone.liquid
<!-- キャンペーンまとめ買い割引が有効の場合 -->
<!-- まとめ買い割引条件を満たしたキャンペーンが存在する場合 -->
- {% if campaign %}
- {{ campaign.name }}
- 対象商品が{{ campaign.campaign_benefit | campaign_discount_type }}割引されます
+ {% if campaigns.size > 0 %}
+ {% for campaign in campaigns %}
+ {{ campaign.name }}
+ 対象商品が{{ campaign.campaign_benefit | campaign_discount_type }}割引されます
+ {% endfor %}
{% endif %}
<!-- まとめ買い割引条件を満たしていないキャンペーンが存在する場合 -->在庫切れのポイント交換商品を交換不可に変更
在庫切れのとき、商品名に「在庫切れ」と表示し、ポイント予約ボタンを無効にします。
本機能について
在庫無制限が無効で、在庫が0以下のポイント交換商品が対象です。在庫無制限が有効な商品は、これまでどおり交換できます。
mypage > 定期注文詳細画面 商品情報
ec_force/shop/customer/subs_orders/order_items/index.html.liquid
ec_force/shop/customer/subs_orders/order_items/index.html+smartphone.liquid
{% if base_info.use_point? and base_info.exchange_items_with_points? and base_info.variant_point_exchange_on_mypage? and subs_order.active? %}
{% for variant in point_exchangeable_variants %}
+ {% assign out_of_stock = variant.out_of_stock? %}
<!-- 商品名 -->
{{ variant.name }}
+ {% if out_of_stock %}
+ [在庫切れ]
+ {% endif %}
<!-- 規格 --> <input value="{{ variant.id }}" type="hidden" name="order_item[variant_id]" id="order_item_variant_id">
- <input type="submit" name="commit" value="ポイント予約" data-disable-with="保存中...">
+ <input type="submit" name="commit" value="ポイント予約" data-disable-with="保存中..." {% if out_of_stock %}disabled{% endif %}>
</form>割引適用箇所「課税後」の表示に対応
これまで「割引適用箇所」の設定はなく、割引は消費税の前に表示していました。
本リリース前に構築したショップでは、この設定は初期値の「課税前」のままです。割引の表示位置は変わりません。
「設定 > 税金 > 税金の設定 (opens in a new tab)」の「割引適用箇所」を「課税後」にすると、割引を消費税の後に表示します。
割引適用箇所を変更する場合
テーマで変わるのは、割引を表示する位置です。
「割引適用箇所」を変更すると、消費税を計算する基準と支払合計が変わります。課税後では、消費税を割引前の小計を基準に計算します。
計算例は 税金の設定 (opens in a new tab) を確認してください。
運用中に本設定を変更するときは、次の順をおすすめします。
- サイトをメンテナンス中にする
- 「割引適用箇所」を変更する
- クーポンの割引額を更新する
- 動作を確認する
- サイトを再開する
メンテナンス中にする手順は、ショップページで指定の期日までカートをオープンしない設定は可能ですか? (opens in a new tab) を参照してください。
注文情報確認プレビューの要素 id
注文情報確認プレビューでは、割引の要素 id が設定ごとに分かれます。
- 課税前:
discount_not_with_point_ex(変更前:discount_not_with_point) - 課税後:
discount_not_with_point_in(追加)
「課税前」のまま運用する場合は、変更前の id discount_not_with_point でも動作します。
「課税後」にする場合は、テーマの更新が必要です。
cart > 注文情報確認画面
ec_force/shop/orders/confirm.html.liquid
ec_force/shop/orders/confirm.html+smartphone.liquid
<!-- 割引 -->
- {% if order.discount_not_with_point != 0 %}
+ {% if order.discount_not_with_point != 0 and order.use_discount_include_tax? == false %}
- {{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
{% endif %}
<!-- 8%対象割引 -->
- {% if order.discount8 != 0 %}
+ {% if order.discount8 != 0 and order.use_discount_include_tax? == false %}
- {{ order.discount8 | number_to_currency: format: '%n %u' }}
{% endif %}
<!-- 10%対象割引 -->
- {% if order.discount10 != 0 %}
+ {% if order.discount10 != 0 and order.use_discount_include_tax? == false %}
- {{ order.discount10 | number_to_currency: format: '%n %u' }}
{% endif %} <!-- 消費税 -->
{{ order.tax | number_to_currency: format: '%n %u' }}
+ <!-- 割引 -->
+ {% if order.discount_not_with_point != 0 and order.use_discount_include_tax? == true %}
+ - {{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- 8%対象消費税 --> <!-- 10%対象消費税 -->
{% if order.tax10 != 0 %}
{{ order.tax10 | number_to_currency: format: '%n %u' }}
{% endif %}
+ <!-- 8%対象割引 -->
+ {% if order.discount8 != 0 and order.use_discount_include_tax? == true %}
+ - {{ order.discount8 | number_to_currency: format: '%n %u' }}
+ {% endif %}
+ <!-- 10%対象割引 -->
+ {% if order.discount10 != 0 and order.use_discount_include_tax? == true %}
+ - {{ order.discount10 | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- ポイント利用(税率適用後) -->cart > サンクスオファー確認画面
ec_force/shop/orders/cv_confirm.html.liquid
ec_force/shop/orders/cv_confirm.html+smartphone.liquid
<!-- 割引 -->
- {% if order.discount_not_with_point != 0 %}
+ {% if order.discount_not_with_point != 0 and order.use_discount_include_tax? == false %}
- {{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
{% endif %}
<!-- 8%対象割引 -->
- {% if order.discount8 != 0 %}
+ {% if order.discount8 != 0 and order.use_discount_include_tax? == false %}
- {{ order.discount8 | number_to_currency: format: '%n %u' }}
{% endif %}
<!-- 10%対象割引 -->
- {% if order.discount10 != 0 %}
+ {% if order.discount10 != 0 and order.use_discount_include_tax? == false %}
- {{ order.discount10 | number_to_currency: format: '%n %u' }}
{% endif %} <!-- 消費税 -->
{{ order.tax | number_to_currency: format: '%n %u' }}
+ <!-- 割引 -->
+ {% if order.discount_not_with_point != 0 and order.use_discount_include_tax? == true %}
+ - {{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- 8%対象消費税 --> <!-- 10%対象消費税 -->
{% if order.tax10 != 0 %}
{{ order.tax10 | number_to_currency: format: '%n %u' }}
{% endif %}
+ <!-- 8%対象割引 -->
+ {% if order.discount8 != 0 and order.use_discount_include_tax? == true %}
+ - {{ order.discount8 | number_to_currency: format: '%n %u' }}
+ {% endif %}
+ <!-- 10%対象割引 -->
+ {% if order.discount10 != 0 and order.use_discount_include_tax? == true %}
+ - {{ order.discount10 | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- ポイント利用(任意) -->cart > 注文情報確認プレビュー(部分テンプレート)
ec_force/shop/orders/_view_payment_preview.html.liquid
ec_force/shop/orders/_view_payment_preview.html+smartphone.liquid
- <div>
+ <div id="discount_not_with_point_exclude_tax">
<label>割引</label>
- <span id="discount_not_with_point"></span>
+ <span id="discount_not_with_point_ex"></span>
</div> <span id="tax"></span>
</div>
+ <div id="discount_not_with_point_include_tax">
+ <label>割引</label>
+ <span id="discount_not_with_point_in"></span>
+ </div>
<div id="discount_point_amount_include_tax"> <span id="subtotal8"></span>
- <label class="discount_area">割引</label>
- <span class="discount_area" id="discount8"></span>
- <label>消費税</label>
- <span id="tax8"></span>
+ {% if base_info.use_discount_include_tax %}
+ <label>消費税</label>
+ <span id="tax8"></span>
+ <label class="discount_area">割引</label>
+ <span class="discount_area" id="discount8"></span>
+ {% else %}
+ <label class="discount_area">割引</label>
+ <span class="discount_area" id="discount8"></span>
+ <label>消費税</label>
+ <span id="tax8"></span>
+ {% endif %}
</div> <span id="target10"></span>
- <label class="discount_area">割引</label>
- <span class="discount_area" id="discount10"></span>
- <label>消費税</label>
- <span id="tax10"></span>
+ {% if base_info.use_discount_include_tax %}
+ <label>消費税</label>
+ <span id="tax10"></span>
+ <label class="discount_area">割引</label>
+ <span class="discount_area" id="discount10"></span>
+ {% else %}
+ <label class="discount_area">割引</label>
+ <span class="discount_area" id="discount10"></span>
+ <label>消費税</label>
+ <span id="tax10"></span>
+ {% endif %}
</div>mypage > 購入履歴詳細画面 基本情報
ec_force/shop/customer/orders/show.html.liquid
ec_force/shop/customer/orders/show.html+smartphone.liquid
<!-- 割引(任意) -->
- -{{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
+ {% if order.use_discount_include_tax? == false %}
+ -{{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- 8%対象割引(任意) -->
- -{{ order.discount8 | number_to_currency: format: '%n %u' }}
+ {% if order.use_discount_include_tax? == false %}
+ -{{ order.discount8 | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- 10%対象割引(任意) -->
- -{{ order.discount10 | number_to_currency: format: '%n %u' }}
+ {% if order.use_discount_include_tax? == false %}
+ -{{ order.discount10 | number_to_currency: format: '%n %u' }}
+ {% endif %} {% elsif order.smaregi_tax_excluded? %}
{{ order.smaregi_order.tax_exclude | number_to_currency: format: '%n %u' }}
{% endif %}
+ <!-- 割引(任意) -->
+ {% if order.use_discount_include_tax? == true %}
+ -{{ order.discount_not_with_point | number_to_currency: format: '%n %u' }}
+ {% endif %}
<!-- 8%対象消費税(任意) --> <!-- 10%対象消費税(任意) -->
{{ order.tax10 | number_to_currency: format: '%n %u' }}
+ <!-- 8%対象割引(任意) -->
+ {% if order.use_discount_include_tax? == true %}
+ -{{ order.discount8 | number_to_currency: format: '%n %u' }}
+ {% endif %}
+ <!-- 10%対象割引(任意) -->
+ {% if order.use_discount_include_tax? == true %}
+ -{{ order.discount10 | number_to_currency: format: '%n %u' }}
+ {% endif %}
{% if order.payment_later_card_converted? %}