SOQVER Klargjør en kilde
Norsk

Blog · Guide ·

Shopify: Slik publiserer du fakta og vilkår uten en app

Se hvordan du publiserer en side med fakta og vilkår på Shopify, legger til JSON-LD og lenker til en SO4AG-fil som ligger på et annet sted når du ikke kan legge filen i rotkatalogen til butikkens domene.

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.

OpplysningValueWhere it applies
Fraktpris5.50 USDUS standard delivery
Return period30 dagerOrders covered by the posted return policy
Betalingsmåternot 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

Veiledning ·

Slik publiserer du fakta om virksomheten på et WordPress-nettsted

Installer SO4AG Facts på WordPress, legg inn opplysninger om virksomheten med vilkår og datoer, og publiser en side med fakta og vilkår som du kan kontrollere fra administrasjonspanelet.

Veiledning ·

Gjør frakt, betaling og retur i WooCommerce om til strukturerte fakta

Bruk SO4AG Facts til å gå gjennom forslag til frakt og betaling fra WooCommerce, og legg deretter inn returfrister, leveringstider og andre vilkår manuelt.

Veiledning ·

Publisering av SO4AG-fakta på Wix, Squarespace og Webflow

Se hvor du legger til JSON-LD i Wix, Squarespace og Webflow. Følg deretter de samme manuelle trinnene for å publisere en faktaside og lenke til SO4AG-filen der den er lagret.

Gratis nettstedsanalyse Alle artikler