SOQVER ソースを準備
日本語

Blog · Guide ·

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

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

Start with the facts a shopper needs

A shopper's assistant needs the same details a shopper looks for before placing an order. How much does standard shipping cost to the shopper's country? How long do they have to return an item? Which payment methods can they use? A shipping price is easier for a program to interpret when the country and delivery method are attached to the amount.

Start in Shopify Settings. Copy the current shipping rates, return and shipping policies, and store address from there. Check the public pages that state those facts so you can record where a shopper can read them. SO4AG, short for Source Objects for AGents, is an open format and a working draft at version 0.1. Each fact records its value, where it applies, its last day, where the website states it, and whether the business states it at all.

What Shopify can serve

There is no SO4AG app for Shopify. The usual address for a SO4AG file is /so4ag.json at the root of a domain. Shopify theme edits cannot put a file at that address. Shopify apps can serve addresses only under prefixes such as /apps/.

The manual setup uses a normal Shopify page called Facts and terms. It displays a table shoppers can read and includes the same facts as JSON-LD. The so4ag.json file lives on a hosted SOQVER profile. The store page links directly to that file, so the setup works without a root-level file on the Shopify domain.

Publish your facts and terms

1. Draft the facts

Enter your public store address in the guided start. It drafts facts from your public pages and includes exact quotes so you can see the wording behind each draft. If you want a package of files to work from, use the free website audit. You confirm your email to see the result and confirm the facts before downloading. SOQVER guided start · Free website audit

2. Review and confirm the facts

Compare the draft with Shopify Settings and the public pages you cite. Attach the right conditions to each fact. If a rate applies to US standard delivery, record both the country and the delivery method. Use any only when the fact applies to every value for that condition. If your business does not state a fact, mark it not stated. Set the last day for each fact and confirm the entries yourself. The hosted profile then offers a page, the JSON file, and the JSON-LD block.

3. Create the Shopify page

Create a regular store page titled Facts and terms and add the confirmed facts as a table. Keep each condition next to the value it qualifies. For example, put the country and delivery method in the shipping row so shoppers can tell which orders the price covers.

4. Add the JSON-LD

Copy the JSON-LD block from the hosted profile. Place it in a Custom Liquid section on the Facts and terms page or add it through the theme code for that page. Use the block from the same confirmed set of facts as the visible table so both versions describe the same terms.

Copy the direct link to so4ag.json from the hosted profile. Add it to the Shopify page with a clear label such as Download the facts as JSON. Open the published page and follow the link to check that it opens the file.

Example Candle Co facts

An example store, Example Candle Co, publishes its shipping and return terms at examplecandleco.example. In this example, the store does not state its payment methods on its public pages.

項目ValueWhere it applies
配送料5.50 USDUS standard delivery
Return period30日Orders covered by the posted return policy
支払い方法not statedStore payment methods

Keep the dates current

When you change a shipping rate, update the public shipping terms and confirm the revised fact with its new last day. Update the hosted fact, the Shopify table, and the JSON-LD together. Every fact has a last day. After that day, a program treats it as history. You can confirm a shipping price for up to 60 days at a time and payment methods for up to 180 days. These dates tell a program how long it can treat the stated values as current.

Next step

After publishing, check your hosted so4ag.json with the public validator.

More articles

ガイド ·

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

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

ガイド ·

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

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

ガイド ·

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

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

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