SOQVER ソースを準備
日本語

Blog · Guide ·

WooCommerceの配送・決済・返品条件を構造化する方法

SO4AG FactsでWooCommerceの配送・決済情報の候補を確認し、返品期限や配送にかかる日数などの条件を手動で追加します。

Before placing an order, a shopper wants to know what shipping costs to their country, how much they need to spend for free shipping, which payment methods you accept, and how long they have to return an item. These answers may come from different parts of your WooCommerce store. A shipping zone sets the rate, checkout lists the payment methods, and a policy page explains returns.

The free SO4AG Facts plugin helps you publish those answers in a precise form a program can read. SO4AG is an open format for business facts and a working draft at version 0.1. Each fact includes its value, the conditions it applies under, its last day of validity, where your website states it, and whether you state it at all. The conditions and dates give a program less room for error when it uses the information.

Review what WooCommerce suggests

In WordPress, open SO4AG Facts and select Suggest from the shop. The button reads your WooCommerce shipping zones and payment methods. It can suggest shipping prices by country, with tax calculated from your store's tax rates, along with free shipping thresholds, local pickup, and payment methods. The setup steps are in the SO4AG Facts manual.

Give each suggestion one of three decisions.

Pay particular attention to the country and delivery method. A courier price applies to the method named in its conditions. Review the last day too. For example, you can confirm a shipping price for up to 60 days at a time. After the last day, a program treats the fact as history.

Read the notes for rules that need manual review

The plugin shows notes for WooCommerce settings it cannot turn into suggestions. Use those notes to see which terms you need to check yourself.

Enter the cash on delivery fee yourself

WooCommerce does not store the cash on delivery fee, so the suggestion leaves it for you to enter. If your website states the fee, enter the amount and any conditions that affect it. If your website gives no amount, mark the fee as not stated. Zero means the fee is zero, so enter zero only if that is what you state.

Add returns, warranties, and delivery times

The Retail profile defines facts for the return period, warranty period, and delivery time. Add them by hand using your published terms. For a return or warranty period, check whether it applies to all items or to a particular group. For delivery time, check whether it varies by country or delivery method. Add the applicable conditions, the page address, and the last day for each fact. You can also include the exact words from the page.

Example Outdoor Store facts

An example from the fictional Example Outdoor Store at example-outdoor.example shows how the conditions sit alongside the values. The table shows three facts as they might appear during review.

項目Value条件
配送料6.90 USDCountry US, delivery method courier
Free shipping from75.00 USDCountry US
Return period30日No condition: every order

The courier condition belongs to the shipping price. The free shipping threshold in this example applies to the US, and the return period carries no condition, so it holds for every order.

Give each fact distinct conditions

You cannot publish two facts about the same thing under the same conditions. If two shipping prices apply in the same country because one is for courier delivery and the other is for a different method, give each fact its own delivery method condition. If two entries describe the same rate for the same method and country, keep one entry.

Next step

  1. Run Suggest from the shop, review each suggestion, and add your missing Retail facts. Use Confirm and publish when the facts match your published terms. The plugin keeps the facts private until you confirm and publish them. Open the WordPress manual.
  2. Check your published so4ag.json with the public SO4AG validator.

More articles

ガイド ·

WordPressサイトで事業情報を公開する方法

WordPressにSO4AG Factsをインストールし、適用条件や日付を添えて事業情報を登録します。公開した「事業情報と利用条件」ページは管理画面から確認できます。

ガイド ·

Shopifyでアプリを使わずに事業情報と利用条件を公開する方法

Shopifyで「事業情報と利用条件」ページを公開し、JSON-LDを追加する方法を紹介します。ストアのドメインのルートにファイルを配置できない場合は、別途ホスティングしたSO4AGファイルへのリンクを設置します。

ガイド ·

Wix、Squarespace、WebflowでSO4AG形式の事業情報を公開する方法

Wix、Squarespace、WebflowでJSON-LDを追加する場所を確認できます。事業情報ページの公開と、ホスティングしたSO4AGファイルへのリンクの設置は、いずれも同じ手順で手動で行います。

ウェブサイト無料診断 すべての記事