SOQVER Prepare a source
English

Blog · Guide ·

Turn WooCommerce shipping, payments, and returns into facts

Use SO4AG Facts to review WooCommerce shipping and payment suggestions, then add return periods, delivery times, and other terms by hand.

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.

FactValueCondition
Shipping price6.90 USDCountry US, delivery method courier
Free shipping from75.00 USDCountry US
Return period30 daysNo 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

Guide ·

How to publish your business facts on a WordPress site

Install SO4AG Facts on WordPress, add business details with conditions and dates, and publish a Facts and terms page you can check from the admin.

Guide ·

Shopify: How to publish facts and terms without an app

Learn how to publish a Facts and terms page on Shopify, add JSON-LD, and link to a hosted SO4AG file when you can't put the file at your store's domain root.

Guide ·

Publishing SO4AG facts on Wix, Squarespace and Webflow

See where to add JSON-LD in Wix, Squarespace and Webflow, then use the same manual steps to publish a facts page and link to your hosted SO4AG file.

Free website audit All articles