SOQVER Valmistakaa lähde
Suomi

Blog · Guide ·

Shopify: tietojen ja ehtojen julkaiseminen ilman sovellusta

Katso, miten voitte julkaista Tiedot ja ehdot -sivun Shopifyssa, lisätä JSON-LD:n ja linkittää palvelimella olevaan SO4AG-tiedostoon, kun tiedostoa ei voi sijoittaa kauppanne verkkotunnuksen juureen.

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.

TietoValueWhere it applies
Toimitusmaksu5.50 USDUS standard delivery
Return period30 päivääOrders covered by the posted return policy
Maksutavatnot 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

Opas ·

Yritystietojen julkaiseminen WordPress-sivustolla

Asentakaa SO4AG Facts WordPressiin, lisätkää yritystiedot ehtoineen ja päivämäärineen ja julkaiskaa Tiedot ja ehdot -sivu, jonka voitte tarkistaa hallintapaneelista.

Opas ·

WooCommercen toimitus-, maksu- ja palautustietojen muuntaminen rakenteisiksi tiedoiksi

Tarkistakaa WooCommercen toimituksia ja maksuja koskevat ehdotukset SO4AG Factsiin kootuista tiedoista ja lisätkää sitten palautusajat, toimitusajat ja muut ehdot käsin.

Opas ·

SO4AG-tietojen julkaiseminen Wixissä, Squarespacessa ja Webflow’ssa

Tarkistakaa, mihin JSON-LD lisätään Wixissä, Squarespacessa ja Webflow’ssa. Julkaiskaa sitten tietosivu ja linkittäkää palvelimella olevaan SO4AG-tiedostoon samojen manuaalisten ohjeiden mukaan.

Maksuton sivustoauditointi Kaikki artikkelit