# Handoff Handoff is a Shopify theme by Quantum Consulting, built to be set up by an AI assistant and read by AI shopping assistants and search engines. This site is its documentation. It is generated from the files of the theme, so it describes the theme as it is. ## What the theme does - **Set up by an assistant, with a proof at the end.** A guide in six steps, a store brief that holds every fact with its source, and eight checks an assistant can run with a Shopify connector alone. - **Facts that assistants can read and quote.** Blocks for the quick answer, the specifications, the compatibility, the questions, who the product is for, delivery, and returns. They are filled from metafields and rendered in the HTML, without JavaScript. - **Complete structured data.** Product, offer, variants, delivery, returns, breadcrumb, organization, article, and questions, written by the theme from the same values the page shows. - **A readiness panel in the theme editor.** For the page on screen, it lists what is filled and what is missing. - **Nothing invented.** A fact without a source is left out. An empty field shows nothing. ## Set up a store 1. Read the [setup guide](setup.md): six steps, each with its check, with prompts to copy in English and in French. 2. Fill the [store brief](store-brief.md) before changing anything. 3. Run the [checks](checks.md) at the end. An assistant can read this whole site as plain text: [llms.txt](llms.txt) lists every page as Markdown, and [llms-full.txt](llms-full.txt) holds them in one file. The files of the setup kit are served as they are in [kit/](kit/README.md). ## Reference - [Theme settings](settings.md) - [Blocks](blocks.md) - [Metafields and metaobjects](metafields.md) - [Styles](styles.md) - [Fonts](fonts.md) - [Rules for agents that change the theme](agents.md) - [Design contract](design.md) --- # Set up your store with an AI assistant This guide takes a store that has the Handoff theme installed and gets it ready for shoppers, search engines, and AI assistants. Work with an assistant that can read and write your store: Claude or ChatGPT with a Shopify connector, or Sidekick in the Shopify admin. Give it this file, [`store-brief.schema.json`](kit/store-brief.schema.json), [`presets.json`](kit/presets.json), [`fonts.json`](kit/fonts.json), [`metafields.json`](kit/metafields.json), [the checks](checks.md), and the theme's `AGENTS.md` and `DESIGN.md`. There are six short steps. Each one ends with a check. Do not start a step before the check of the step before it passes. Each prompt is given in English and in French: copy the one in your language. Three rules apply to every step: 1. **Nothing invented.** A fact without a source is left out. An empty field shows nothing on the store, and that is fine. 2. **One truth.** Delivery and returns are entered once, in the theme settings, and match your policies and your Shopify shipping settings. 3. **You approve changes.** The assistant says what it will change, then waits for your yes. It works on an unpublished copy of the theme. It never publishes. ## Step 1. The store brief The assistant gathers everything it needs in one file, before it changes anything. English: ``` Read setup/store-brief.schema.json. Build my store brief as a JSON file that follows this schema. First read what my store already holds: store name, policies, shipping settings, products, collections, menus. Then ask me, a few questions at a time, for what is missing: brand description and voice, logo, colors, legal name and address, and the documents of my products (data sheets, manuals, compatibility lists, customer questions). Every fact needs a source: a document, a policy page, or my own answer with today's date. When I have no source for a fact, leave it out. Do not guess, do not fill a field to make it complete. Change nothing in my store during this step. At the end, show me the brief and list what is left out. ``` Français : ``` Lis setup/store-brief.schema.json. Construis la fiche de ma boutique dans un fichier JSON qui suit ce schéma. Lis d'abord ce que ma boutique contient déjà : nom, politiques, réglages de livraison, produits, collections, menus. Puis demande-moi, quelques questions à la fois, ce qui manque : description et ton de la marque, logo, couleurs, raison sociale et adresse, et les documents de mes produits (fiches techniques, notices, listes de compatibilité, questions de clients). Chaque fait a une source : un document, une page de politique, ou ma réponse avec la date du jour. Si je n'ai pas de source pour un fait, laisse-le de côté. Ne devine rien, ne remplis pas un champ pour faire complet. Ne change rien dans ma boutique pendant cette étape. À la fin, montre-moi la fiche et la liste de ce qui est resté vide. ``` Check: the brief is valid against [`store-brief.schema.json`](kit/store-brief.schema.json), every fact has a `source`, and you have read it. Run check 5 of [the checks](checks.md) now: if your policies and your shipping settings disagree, settle it before going on. ## Step 2. The closest style English: ``` Read setup/presets.json and the "style" and "brand" parts of my store brief. Choose the style whose "best_for", "mood", industry, and catalog size are closest to my store. If there is only one style, use it. Tell me which one and why in two sentences, and write its name in the brief ("style.preset"). List the colors and fonts of my brief that differ from the style. For fonts, read setup/fonts.json: if the font of my brand is in "covered", keep it. If it is not, propose the covered font closest to it (same category, similar width and weight) and tell me why. A covered font loads after the main image without moving the text. A font outside the list works too, but loads at once. Change nothing yet. ``` Français : ``` Lis setup/presets.json et les parties « style » et « brand » de ma fiche. Choisis le style dont « best_for », « mood », le secteur et la taille de catalogue sont les plus proches de ma boutique. S'il n'y a qu'un style, prends-le. Dis-moi lequel et pourquoi en deux phrases, et écris son nom dans la fiche (« style.preset »). Liste les couleurs et les polices de ma fiche qui diffèrent du style. Pour les polices, lis setup/fonts.json : si la police de ma marque est dans « covered », garde-la. Sinon, propose la police couverte la plus proche (même catégorie, largeur et graisse voisines) et dis-moi pourquoi. Une police couverte se charge après l'image principale sans faire bouger le texte. Une police hors liste fonctionne aussi, mais se charge tout de suite. Ne change rien pour l'instant. ``` Check: `style.preset` in the brief is the name of a style of [`presets.json`](kit/presets.json). Run check 1 of [the checks](checks.md): the theme you will configure has the role `UNPUBLISHED`. ## Step 3. Theme settings English: ``` Apply my store brief to the theme settings of the unpublished theme, in config/settings_data.json: the style of step 2, then logo, colors, fonts, brand identity, social media, shipping, and returns. Each value of the brief names its setting in "x-applies-to" in the schema. A value that is not in the brief stays as it is. For each color pair, give me the contrast ratio: text needs 4.5:1 or more. Show me the list of settings you will change with old and new values, wait for my yes, then write them. ``` Français : ``` Applique ma fiche aux réglages du thème non publié, dans config/settings_data.json : le style de l'étape 2, puis logo, couleurs, polices, identité de marque, réseaux sociaux, livraison et retours. Chaque valeur de la fiche nomme son réglage dans « x-applies-to » du schéma. Une valeur absente de la fiche reste telle quelle. Pour chaque paire de couleurs, donne-moi le rapport de contraste : le texte demande 4,5:1 ou plus. Montre-moi la liste des réglages que tu vas changer avec l'ancienne et la nouvelle valeur, attends mon accord, puis écris-les. ``` Check: check 2 of [the checks](checks.md) (delivery, returns, and legal identity are filled), then check 5 again (the settings match the policies and the shipping settings). ## Step 4. Pages and menus English: ``` From the "navigation" part of my store brief, set up the main menu (handle main-menu, three levels at most) and the footer menu (handle footer, with the contact page and my policies). Use links to collections, pages, and blogs, not typed addresses. Create the contact page with the template "contact" if it does not exist. Do not put an empty collection in a menu. Then fill the home page template of the unpublished theme: hero heading (what I sell and for whom), hero text (one checkable fact), hero button, three facts taken from my delivery and returns settings, one featured product, one product list, three steps on how to choose, three questions. Show me the plan, wait for my yes, then apply it. ``` Français : ``` À partir de la partie « navigation » de ma fiche, mets en place le menu principal (identifiant main-menu, trois niveaux au plus) et le menu de pied de page (identifiant footer, avec la page contact et mes politiques). Utilise des liens vers des collections, des pages et des blogs, pas des adresses tapées à la main. Crée la page contact avec le modèle « contact » si elle n'existe pas. Ne mets pas de collection vide dans un menu. Puis remplis le modèle de la page d'accueil du thème non publié : titre du haut de page (ce que je vends et pour qui), texte (un fait vérifiable), bouton, trois faits tirés de mes réglages de livraison et de retours, un produit vedette, une liste de produits, trois étapes pour choisir, trois questions. Montre-moi le plan, attends mon accord, puis applique-le. ``` Check: check 8 of [the checks](checks.md) (menus), then check 6 (no empty collection in a menu). ## Step 5. Content of the product, collection, and guide blocks English: ``` Read setup/README.md and setup/metafields.json. Run check 3 of setup/CHECKS.md and list the definitions that are missing. Show me the list, wait for my yes, then create them: metaobject definitions first, then metafield definitions, all readable by the storefront. Then, one product at a time, write the facts of my store brief to the product: category, image descriptions, and the metafields named in "x-applies-to" (quick answer, size, material, what is in the box, specifications, compatibility, who it is for, questions, brand). For compatibility, the status is "fits" or "does_not_fit" only when the brief has a source for it. Otherwise it is "ask". Do the same for collections (description, buying guide) and for guides (saved as drafts, with their products linked). For each product, show me the values before you save, and wait for my yes. ``` Français : ``` Lis setup/README.md et setup/metafields.json. Lance le contrôle 3 de setup/CHECKS.md et liste les définitions qui manquent. Montre-moi la liste, attends mon accord, puis crée-les : d'abord les définitions de métaobjets, ensuite celles de métachamps, toutes lisibles par la vitrine. Puis, un produit à la fois, écris les faits de ma fiche sur le produit : catégorie, descriptions des images, et les métachamps nommés dans « x-applies-to » (réponse rapide, taille, matière, contenu de la boîte, caractéristiques, compatibilité, pour qui, questions, marque). Pour la compatibilité, le statut est « fits » ou « does_not_fit » seulement si la fiche a une source. Sinon c'est « ask ». Fais de même pour les collections (description, guide d'achat) et pour les guides (enregistrés en brouillon, avec leurs produits liés). Pour chaque produit, montre-moi les valeurs avant d'enregistrer et attends mon accord. ``` Check: check 3 (definitions), check 4 (product facts), check 6 (collections), check 7 (guides). A fact left empty because the brief has no source is reported as "left empty: no source". It is not a failure. ## Step 6. Final check English: ``` Run the eight checks of setup/CHECKS.md, in order, and read every answer. Give me one table: check, result, what is missing. Then the list of facts left empty because I have no source. Do not report a check as passed without having run it. Do not publish the theme. ``` Français : ``` Lance les huit contrôles de setup/CHECKS.md, dans l'ordre, et lis chaque réponse. Donne-moi un seul tableau : contrôle, résultat, ce qui manque. Puis la liste des faits laissés vides faute de source. N'annonce pas un contrôle réussi sans l'avoir lancé. Ne publie pas le thème. ``` Then three things only you can do: 1. Open the theme editor on a product page of the unpublished theme. The Readiness panel in the corner of the preview lists what is still missing on that page. 2. Test one product page in Google's Rich Results Test (https://search.google.com/test/rich-results) once the store is public. Before that, a developer can run `node setup/checks/run.mjs`, which also reads the page the way a crawler does. 3. Read the store as a shopper on your phone, then publish the theme yourself. ## What the assistant must never do - Publish a theme, or write to the published theme, without your written yes. - Invent a review, a rating, a stock level, a deadline, a compatibility, a guarantee, or a barcode. - Enter a delivery or return value that your policies do not state. - Change products, prices, or orders that the step does not name. - Say that a check passed when it did not run it. --- # Store brief Everything an AI assistant must know before it configures a store with the Handoff theme. The assistant fills this file first, by asking the merchant and reading the merchant's documents, then applies every setting and every metafield from it. Rule: a value that is not verified stays out. An absent value shows nothing on the store, a guessed value shows something false. "x-applies-to" names the theme setting, the metafield, or the Shopify field each value goes to. The schema is in [`kit/store-brief.schema.json`](kit/store-brief.schema.json). ## brand Who the store is. | Field | Required | What to put | Where it goes | |---|---|---|---| | `brand.name` | yes | The name shoppers see. | Shopify store name | | `brand.tagline` | no | One short line. Optional. | home page, hero heading | | `brand.description` | yes | One or two sentences that say what the store sells and for whom. 40 words max. | theme setting brand_description | | `brand.voice` | no | How the store writes, in a few words: for example "plain, technical, no superlatives". | every text the assistant writes | | `brand.logo_file` | no | File name of the logo the merchant provided. | theme setting logo | | `brand.social_profiles[]` | no | Official social media profiles. | theme settings social_*_link | ## style How the store looks. | Field | Required | What to put | Where it goes | |---|---|---|---| | `style.preset` | no | Name of the theme style closest to the brand, chosen from setup/presets.json. | theme preset | | `style.colors` | no | Brand colors as six-digit hex codes. Leave out a color to keep the one of the style. | | | `style.colors.background` | no | Page background. | theme setting color_background | | `style.colors.text` | no | Text on the page background. Contrast 4.5:1 or more. | theme setting color_text | | `style.colors.accent` | no | The one accent color: primary buttons, sale prices. | theme setting color_accent | | `style.colors.accent_text` | no | Text on the accent color. Contrast 4.5:1 or more. | theme setting color_accent_text | | `style.fonts` | no | Fonts from the Shopify font library. Leave out to keep the fonts of the style. Prefer a font listed as covered in setup/fonts.json: it loads after the main image without moving the text. | | | `style.fonts.heading` | no | Font for headings. | theme setting type_heading_font | | `style.fonts.body` | no | Font for body text. | theme setting type_body_font | ## legal Legal identity and contact. It feeds the structured data of the home page. | Field | Required | What to put | Where it goes | |---|---|---|---| | `legal.legal_name` | yes | Registered company name. | theme setting brand_legal_name | | `legal.email` | no | Address customers can write to. | theme setting brand_email | | `legal.phone` | no | International format. Optional. | theme setting brand_phone | | `legal.address` | no | Registered business address. Leave out when it is not public. | | | `legal.address.street` | yes | Number and street. | theme setting brand_address_street | | `legal.address.city` | yes | City. | theme setting brand_address_city | | `legal.address.region` | no | State, province, or county. Optional. | theme setting brand_address_region | | `legal.address.postal_code` | no | Postal code. | theme setting brand_address_postal_code | | `legal.address.country_code` | yes | Two-letter ISO 3166-1 code. | theme setting brand_address_country_code | ## delivery Delivery, exactly as the shipping policy and the Shopify shipping settings state it. | Field | Required | What to put | Where it goes | |---|---|---|---| | `delivery.countries[]` | yes | Countries the store delivers to. | theme setting shipping_countries | | `delivery.handling_days_min` | no | Working days between order and dispatch, minimum. | theme setting shipping_handling_days_min | | `delivery.handling_days_max` | no | Working days between order and dispatch, maximum. | theme setting shipping_handling_days_max | | `delivery.transit_days_min` | no | Working days between dispatch and delivery, minimum. | theme setting shipping_transit_days_min | | `delivery.transit_days_max` | no | Working days between dispatch and delivery, maximum. | theme setting shipping_transit_days_max | | `delivery.business_days` | no | Days counted as working days. | theme setting shipping_business_days | | `delivery.rate` | no | Shipping rate in the store currency. 0 for free shipping. Leave out when rates vary. | theme setting shipping_rate | | `delivery.free_threshold` | no | Order value from which shipping is free. Leave out when there is none. | theme setting shipping_free_threshold | | `delivery.source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, ". A fact without a source is left out. | | ## returns Returns, exactly as the refund policy states them. | Field | Required | What to put | Where it goes | |---|---|---|---| | `returns.days` | yes | Days a customer has to return an item. 0 when returns are not accepted. | theme setting returns_days | | `returns.fees` | no | Who pays for the return. | theme setting returns_fees | | `returns.shipping_fee` | no | Only with fixed_fee: the return shipping fee in the store currency. | theme setting returns_shipping_fee | | `returns.method` | no | How an item is returned. | theme setting returns_method | | `returns.source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, ". A fact without a source is left out. | | ## markets Markets the store sells in. Information for the assistant: markets are set up in the Shopify admin, not in the theme. | Field | Required | What to put | Where it goes | |---|---|---|---| | `markets[].country_code` | yes | Two-letter ISO 3166-1 code. | | | `markets[].currency` | no | ISO 4217 code. | | | `markets[].language` | no | ISO 639-1 code. | | ## navigation Menus. | Field | Required | What to put | Where it goes | |---|---|---|---| | `navigation.main_menu[]` | no | Top-level items of the main menu. | menu main-menu | | `navigation.footer_menu[]` | no | Items of the footer menu. | menu footer | ## products One entry per product. | Field | Required | What to put | Where it goes | |---|---|---|---| | `products[].handle` | yes | Handle of the product in Shopify. | | | `products[].category` | no | The most precise category of Shopify's product taxonomy. | product category | | `products[].brand` | no | The real brand of the product. Leave out when the store is the brand and it should not be declared. | product metafield custom.brand | | `products[].quick_answer` | no | One or two sentences: what it is, who it is for, what is included. | product metafield custom.quick_answer | | `products[].size` | no | Main size with its unit. | product metafield custom.size | | `products[].material` | no | Main materials. | product metafield custom.material | | `products[].in_the_box[]` | no | What is in the box. | product metafield custom.in_the_box | | `products[].specifications[]` | no | Measurable facts: dimensions, weight, capacity. | one product metafield per fact, listed in the Specifications block | | `products[].specifications[].label` | yes | Name of the fact, for example "Diameter". | | | `products[].specifications[].value` | yes | Value with its unit, for example "58.5 mm". | | | `products[].specifications[].source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, ". A fact without a source is left out. | | | `products[].compatibility[]` | no | What the product fits and does not fit. | compatibility_item entries linked in product metafield custom.compatibility | | `products[].compatibility[].name` | yes | The machine, model, or family. | | | `products[].compatibility[].model_codes[]` | no | Model codes. | | | `products[].compatibility[].status` | yes | fits or does_not_fit only when the source says so. ask otherwise. | | | `products[].compatibility[].note` | no | A short note, for example the adapter that is needed. | | | `products[].compatibility[].source` | no | Where this fact was verified: a document name and page, a policy URL, or "merchant, ". A fact without a source is left out. | | | `products[].who_its_for[]` | no | Who the product suits. Two to four points. | product metafield custom.who_its_for | | `products[].not_for[]` | no | When another product is a better choice. One to three points. | product metafield custom.not_for | | `products[].questions[]` | no | Three to six questions shoppers really ask. | faq_item entries linked in product metafield custom.faq | | `products[].questions[].question` | yes | In the words customers use. | | | `products[].questions[].answer` | yes | Starts with the answer itself. | | | `products[].questions[].source` | yes | Where this fact was verified: a document name and page, a policy URL, or "merchant, ". A fact without a source is left out. | | | `products[].images[]` | no | Image descriptions. | alt text of product media | | `products[].images[].file` | yes | File name. | | | `products[].images[].alt` | yes | One sentence that says what the image shows. | | ## collections One entry per collection shown in a menu. | Field | Required | What to put | Where it goes | |---|---|---|---| | `collections[].handle` | yes | Handle of the collection in Shopify. | | | `collections[].description` | no | Two sentences. | collection description | | `collections[].buying_guide` | no | Three to five sentences on how to choose among these products, from the product facts only. | collection metafield custom.buying_guide | ## guides One guide per big customer question. | Field | Required | What to put | Where it goes | |---|---|---|---| | `guides[].question` | yes | The customer question the guide answers. It becomes the title. | | | `guides[].short_answer` | yes | The answer in one or two sentences. It becomes the excerpt, shown in bold. | | | `guides[].products[]` | no | Products named in the guide. | article metafield custom.related_products | | `guides[].sources[]` | no | Where the content of the guide comes from. | | --- # Checks without a terminal Every check here is a read-only query for the Shopify GraphQL Admin API. An AI assistant that only has a Shopify connector can run them as they are. Each check says what to read in the answer and how to fix what is wrong. Rules for the assistant: - These queries read. They change nothing. Ask the merchant before any fix that writes to the store. - A check passes only when you have read the answer. Do not report a check as passed from memory. - When a list has more than one page (`pageInfo.hasNextPage` is true), run the query again with `after: ""` until the end. - Report the result as a short table: check, result, what is missing. The queries were validated on 23/11/2026 against the Admin API of a development store. Required access scopes: `read_themes`, `read_products`, `read_metaobject_definitions`, `read_content`, `read_online_store_navigation`, `read_shipping`, and `read_legal_policies` for check 5 (read successfully through a Shopify connector on 24/11/2026). What these checks cannot see: the page as a browser receives it (structured data, content without JavaScript). That needs the scripts of the theme repository (`setup/checks/run.mjs` (in the theme repository)) or Google's Rich Results Test. Step 6 of [the setup guide](setup.md) says when. ## Check 1. Which theme is being configured ```graphql { themes(first: 20) { nodes { id name role } } } ``` Read: the theme you configure must have the role `UNPUBLISHED`. The live theme has the role `MAIN`. Fix: if the only copy of the theme is `MAIN`, ask the merchant to duplicate it in the Shopify admin (Online Store, Themes, Duplicate) and work on the copy. Never write to the `MAIN` theme without the merchant's written yes. ## Check 2. Theme settings: delivery, returns, legal identity Replace the id with the id of the theme from check 1. ```graphql { theme(id: "gid://shopify/OnlineStoreTheme/THEME_ID") { name role files(filenames: ["config/settings_data.json"]) { nodes { filename body { ... on OnlineStoreThemeFileBodyText { content } } } } } } ``` Read: `content` is a JSON file (it may start with a comment block, skip it). Look in the `current` object. When `current` is a text, it names a preset: the values are then in `presets[]`. | Group | Keys that must be filled | Passes when | |---|---|---| | Delivery | `shipping_countries`, `shipping_rate`, `shipping_transit_days_max` | all three are present and not empty | | Returns | `returns_days` | present (0 means returns are not accepted) | | Legal identity | `brand_legal_name`, `brand_description`, `brand_email`, `brand_address_street`, `brand_address_city`, `brand_address_country_code` | all are present and not empty | Fix: fill the missing settings from the store brief (`store-brief.json`). Write them in `config/settings_data.json` of the unpublished theme (`themeFilesUpsert`), or ask the merchant to enter them in the theme editor (Theme settings, groups Shipping, Returns, Brand identity). Leave a setting empty when the brief has no verified value: an empty setting shows nothing, a guessed one shows something false. ## Check 3. Metafield and metaobject definitions ```graphql { product: metafieldDefinitions(first: 50, ownerType: PRODUCT, namespace: "custom") { nodes { key type { name } access { storefront } } } collection: metafieldDefinitions(first: 50, ownerType: COLLECTION, namespace: "custom") { nodes { key type { name } access { storefront } } } article: metafieldDefinitions(first: 50, ownerType: ARTICLE, namespace: "custom") { nodes { key type { name } access { storefront } } } page: metafieldDefinitions(first: 50, ownerType: PAGE, namespace: "custom") { nodes { key type { name } access { storefront } } } metaobjectDefinitions(first: 50) { nodes { type access { storefront } fieldDefinitions { key type { name } } } } } ``` Read: compare with [`metafields.json`](kit/metafields.json). The check passes when every definition of that file exists with the same `type`, and every one has `access.storefront` equal to `PUBLIC_READ`. Fix: create what is missing as [the kit readme](kit/README.md) explains (metaobject definitions first). A definition without storefront access is the most common cause of a block that stays empty: update it with `metafieldDefinitionUpdate` (or `metaobjectDefinitionUpdate`) and `access: { storefront: PUBLIC_READ }`. ## Check 4. Product facts ```graphql { products(first: 50, query: "status:active") { nodes { title handle category { fullName } media(first: 10) { nodes { alt mediaContentType } } variants(first: 5) { nodes { sku barcode } } quickAnswer: metafield(namespace: "custom", key: "quick_answer") { value } faq: metafield(namespace: "custom", key: "faq") { value } whoItsFor: metafield(namespace: "custom", key: "who_its_for") { value } compatibility: metafield(namespace: "custom", key: "compatibility") { value } brand: metafield(namespace: "custom", key: "brand") { value } ratingCount: metafield(namespace: "reviews", key: "rating_count") { value } } pageInfo { hasNextPage endCursor } } } ``` Read, for each product: | Field | Passes when | If not | |---|---|---| | `category` | not null | choose the most precise category of Shopify's taxonomy | | `media[].alt` | every image has a text that describes it, different from the product title | write one sentence per image that says what it shows | | `quickAnswer` | not null | write it from the product page and the manufacturer documents | | `faq` | not null | create `faq_item` entries from real customer questions | | `whoItsFor` | not null | write it from the specifications | | `compatibility` | not null for a product that fits some models and not others | create `compatibility_item` entries from the manufacturer's list. Status `ask` when the list does not say | | `variants[].sku` | present | optional, tell the merchant: a SKU helps merchant listings | | `variants[].barcode` | present when the product has a GTIN | never invent a barcode | | `brand` | present only when the product has a real brand | leave empty otherwise | | `ratingCount` | information only | null means no reviews app has written a rating: the theme then shows and declares no rating. Never write this metafield yourself | A missing fact is not an error when the merchant has no source for it. Report it as "left empty: no source", not as failed. ## Check 5. Delivery and returns say the same thing everywhere ```graphql { shop { name primaryDomain { url } shopPolicies { type url body } } deliveryProfiles(first: 5) { nodes { name default profileLocationGroups { locationGroupZones(first: 10) { nodes { zone { name countries { code { countryCode } } } methodDefinitions(first: 10) { nodes { name active rateProvider { ... on DeliveryRateDefinition { price { amount currencyCode } } } } } } } } } } } ``` Read three sources and compare them with the theme settings of check 2: | Theme setting | Must match | |---|---| | `shipping_countries` | the countries of the zones of the default delivery profile | | `shipping_rate`, `shipping_free_threshold` | the price of the active rate of that zone, and the rate that applies above the threshold | | `shipping_handling_days_*`, `shipping_transit_days_*` | the times written in the policy of type `SHIPPING_POLICY` | | `returns_days`, `returns_fees`, `returns_method` | the policy of type `REFUND_POLICY` | The check passes when no number differs. A policy of type `REFUND_POLICY` and one of type `SHIPPING_POLICY` must exist. Fix: never pick the value you prefer. Show the merchant the two values that disagree and ask which one is true, then correct the other source. ## Check 6. Collections ```graphql { collections(first: 50) { nodes { title handle descriptionHtml productsCount { count } buyingGuide: metafield(namespace: "custom", key: "buying_guide") { value } } pageInfo { hasNextPage endCursor } } } ``` Read: for each collection that is in a menu (check 8), `descriptionHtml` is not empty and `buyingGuide` is not null. A collection with `productsCount.count` equal to 0 should not be in a menu. Fix: write the description (two sentences) and the buying guide (three to five sentences on how to choose among these products) from the product pages only. ## Check 7. Guides ```graphql { articles(first: 50) { nodes { title handle isPublished summary blog { title handle } faq: metafield(namespace: "custom", key: "faq") { value } relatedProducts: metafield(namespace: "custom", key: "related_products") { value } } pageInfo { hasNextPage endCursor } } } ``` Read: for each guide, `summary` is not empty (the theme shows it in bold as the short answer) and `relatedProducts` lists the products the guide names. A guide stays unpublished (`isPublished: false`) until the merchant has read it. Fix: write the summary as one or two sentences that answer the question in the title. ## Check 8. Menus ```graphql { menus(first: 10) { nodes { handle title items { title url items { title url items { title url } } } } } } ``` Read: a menu with the handle `main-menu` and one with the handle `footer` exist and have items. No item points to an empty collection or a missing page. The main menu has three levels at most. The footer menu links to the contact page and to the policies the store has. Fix: add or correct the items with `menuUpdate`. Use links to resources (collection, page, blog), not typed addresses: the theme marks the current page only for resource links. ## What to send the merchant at the end One table with the eight checks, then the list of facts left empty because no source exists, then the one thing the merchant must do alone: open the theme editor on a product, and read the Readiness panel in the corner of the preview. --- # Theme settings Every setting of the theme, by group, as listed in `config/settings_schema.json`. An assistant that configures a store writes these values in `config/settings_data.json` of an unpublished copy of the theme. A setting left empty shows nothing. ## Colors Every text color is checked against its background. A color that is hard to read (contrast under 4.5:1) is shown as black or white instead. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Use brand colors | `use_brand_colors` | checkbox | `false` | Takes the accent colors from the primary color, and the inverse colors from the secondary color, of Settings > Brand in the Shopify admin. The colors below are used when the brand has none. | ### Page | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Background | `color_background` | color | `#F3F1EA` | Main page background. Product images blend into this color when image blending is on. | | Text | `color_text` | color | `#14161A` | Body text, headings, rules, and borders on the page background. Keep a contrast of 4.5:1 or more with the background. | | Secondary text | `color_muted_text` | color | `#565B63` | Labels, captions, and breadcrumbs. Keep a contrast of 4.5:1 or more with the background. | | Image background | `color_media_background` | color | `#E7E4DA` | Shown behind product images and image placeholders. | ### Surface | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Surface background | `color_surface` | color | `#FFFFFF` | Cards, form fields, and option buttons. | | Surface text | `color_surface_text` | color | `#14161A` | | ### Accent | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Accent background | `color_accent` | color | `#B83A09` | Primary buttons, sale prices, and section numbers. Keep a contrast of 4.5:1 or more with the page background. | | Accent text | `color_accent_text` | color | `#FFFFFF` | | ### Inverse | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Inverse background | `color_inverse_background` | color | `#14161A` | Top bar, quick answer band, and footer. | | Inverse text | `color_inverse_text` | color | `#F3F1EA` | | | Inverse accent | `color_inverse_accent` | color | `#F27A45` | Small markers on the inverse background. | ### Status | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Positive | `color_positive` | color | `#1E6A3B` | Used for "Fits" and in-stock messages. | | Negative | `color_negative` | color | `#A12A22` | Used for "Does not fit", errors, and sold-out messages. | ## Typography | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading font | `type_heading_font` | font_picker | `ibm_plex_sans_n6` | | | Body text font | `type_body_font` | font_picker | `ibm_plex_sans_n4` | | | Data font | `type_data_font` | font_picker | `ibm_plex_mono_n4` | Used for prices, measurements, and small labels. A monospace font works best. | | Body text size | `type_body_size` | range | `16` | From 16 to 18 px. | ## Layout | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Page width | `layout_page_width` | range | `1320` | Maximum content width on large screens. From 1100 to 1600 px. | ## Logo and favicon | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Logo | `logo` | image_picker | | Works with landscape and portrait logos. 480px wide or more recommended, .png with a transparent background or .svg. When empty, the logo of Settings > Brand in the Shopify admin is used, then the store name. | | Logo width | `logo_width` | range | `140` | Width of the logo in the header, in pixels. From 60 to 240 px. | | Favicon | `favicon` | image_picker | | 96 x 96px .png recommended. When empty, the square logo of Settings > Brand in the Shopify admin is used. | ## Product | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Image fit | `product_image_fit` | select | `contain` | "Show the whole image" never crops. Use it when product images have mixed aspect ratios. Options: `contain`, `cover`. | | Blend white image backgrounds into the page | `product_blend_images` | checkbox | `true` | Makes white studio backgrounds take the image background color, so images do not need to be cut out. | ## Cart | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Cart type | `cart_type` | select | `drawer` | Options: `drawer`, `page`. | ## Social media These links show as social media icons in the footer and are listed as official profiles in the structured data that search engines and AI assistants read. A link left empty is taken from Settings > Brand in the Shopify admin when it exists there. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Instagram | `social_instagram_link` | url | | Full address of the profile, starting with https://. Leave empty to hide the icon. | | Facebook | `social_facebook_link` | url | | Full address of the profile, starting with https://. Leave empty to hide the icon. | | TikTok | `social_tiktok_link` | url | | Full address of the profile, starting with https://. Leave empty to hide the icon. | | YouTube | `social_youtube_link` | url | | Full address of the profile, starting with https://. Leave empty to hide the icon. | | Pinterest | `social_pinterest_link` | url | | Full address of the profile, starting with https://. Leave empty to hide the icon. | | X | `social_x_link` | url | | Full address of the profile, starting with https://. Leave empty to hide the icon. | ## Brand identity Used in the structured data that search engines and AI assistants read. Enter only facts that match your legal pages. Leave a field empty when it does not apply. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Legal name | `brand_legal_name` | text | | The registered company name, for example "Example Trading Ltd". | | Description | `brand_description` | textarea | | One or two sentences that say what the store sells and for whom. 40 words max. When empty, the short description of Settings > Brand in the Shopify admin is used. | | Contact email | `brand_email` | text | | The address customers can write to. It is declared in the structured data of the home page. | | Contact phone | `brand_phone` | text | | International format, for example +44 20 7946 0000. | ### Business address | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Street address | `brand_address_street` | text | | Number and street of the registered business address. Leave the address empty when it is not public. | | City | `brand_address_city` | text | | | | Region | `brand_address_region` | text | | State, province, or county. | | Postal code | `brand_address_postal_code` | text | | | | Country code | `brand_address_country_code` | text | | Two-letter ISO 3166-1 code, for example GB, US, or FR. | ## Shipping Shown near the Add to cart button and in structured data. Values must match your shipping policy and your Shopify shipping settings. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Countries | `shipping_countries` | text | | Two-letter ISO 3166-1 codes separated by commas, for example GB or GB,IE. | | Minimum handling time | `shipping_handling_days_min` | number | | Working days between the order and the dispatch. Use 0 for same-day dispatch. | | Maximum handling time | `shipping_handling_days_max` | number | | Working days between the order and the dispatch. | | Minimum transit time | `shipping_transit_days_min` | number | | Working days between the dispatch and the delivery. | | Maximum transit time | `shipping_transit_days_max` | number | | Working days between the dispatch and the delivery. | | Working days | `shipping_business_days` | select | `mon_fri` | Options: `mon_fri`, `mon_sat`, `every_day`. | | Shipping rate | `shipping_rate` | text | | A number in the store currency without a symbol, for example 3.95. Use 0 for free shipping. Leave empty when rates vary. | | Free shipping threshold | `shipping_free_threshold` | text | | Order value from which shipping is free, as a number without a symbol, for example 40. Leave empty when there is no threshold. | ## Returns Shown near the Add to cart button and in structured data. Values must match your refund policy. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Return window | `returns_days` | number | | Days a customer has to return an item, for example 30. Use 0 when returns are not accepted. | | Return fees | `returns_fees` | select | `free` | Options: `free`, `customer_pays`, `fixed_fee`. | | Return shipping fee | `returns_shipping_fee` | text | | Only used with "Fixed return shipping fee". A number in the store currency without a symbol, for example 3.95. | | Return method | `returns_method` | select | `by_mail` | Options: `by_mail`, `in_store`, `at_kiosk`. | | Countries | `returns_countries` | text | | Two-letter ISO 3166-1 codes separated by commas. Leave empty to use the shipping countries. | | Refund policy link | `returns_policy_url` | url | | Leave empty to use the store refund policy. | --- # Blocks The theme is made of blocks: sections are thin containers, and a block carries its markup, its settings, and its own stylesheet. 38 blocks can be added in the theme editor. Blocks whose file name starts with an underscore belong to one section or one parent block and are not listed here. A block that reads a metafield renders nothing when the metafield is empty: an empty fact shows nothing, a guessed fact shows something false. ## Article list Type: `article-list`. Article list. The latest articles of one blog as cards. Placeholder cards show until a blog with articles is chosen. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Blog | `blog` | blog | | | | Articles to show | `articles_to_show` | range | `2` | | | Show a link to the blog | `show_view_all` | checkbox | `true` | Shown when the blog has more articles than the list. | ## Products in the article Type: `article-products`. Products named in an article, each with a way to buy. The list comes from an article metafield of type "list of products" (custom.related_products by default), so each guide has its own products. When the metafield is empty, the products chosen in the block settings show instead. Nothing shows when both are empty. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `Products in this guide` | | | Article metafield | `metafield` | text | `custom.related_products` | Namespace and key of an article metafield of type "list of products", written as namespace.key. | | Products | `products` | product_list | | Shown when the article metafield is empty. | ## At a glance Type: `at-a-glance`. At a glance. A short table of the facts a shopper compares first: size, material, what is in the box, delivery, returns. Product facts are read from metafields (one "Label: namespace.key" per line). Delivery and returns come from the Shipping and Returns theme settings, the same values as the structured data. A row without a value is left out. Nothing shows when every row is empty. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `At a glance` | | | Rows from product metafields | `rows` | textarea | `Size: custom.size Material: custom.material In the box: custom.in_the_box` | One row per line, written as Label: namespace.key. A row shows only when the product has a value. Keep to five rows or fewer. | | Show the delivery time | `show_delivery` | checkbox | `true` | From the Shipping theme settings. | | Show the return window | `show_returns` | checkbox | `true` | From the Returns theme settings. | ## Breadcrumb Type: `breadcrumb`. Breadcrumb. Home, then the collection (the current one, or the first collection of the product), then the page. On product pages the current page is left out, because the title sits right under the breadcrumb. ## Button Type: `button`. Button. A link styled as a button. Nothing shows without a label. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Button label | `label` | text | `Shop all products` | Start with a verb. | | Link | `link` | url | | | | Style | `style` | select | `primary` | | ## Buying guide intro Type: `buying-guide-intro`. Buying guide intro. A short editorial text at the top of a collection: how to choose among these products. This is the text AI assistants quote for "best X for Y" questions. It is read from a collection metafield (custom.buying_guide by default, rich text or plain text), or typed in the block settings. Nothing shows without text. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `How to choose` | | | Metafield | `metafield` | text | `custom.buying_guide` | Namespace and key of a collection metafield (rich text or multi-line text), written as namespace.key. | | Body text | `text` | richtext | | Shown when the metafield is empty. Three to five sentences with the facts that separate these products. | ## Collapsible row Type: `collapsible-row`. Collapsible row. A native disclosure (details and summary): it works without JavaScript and its content stays in the HTML, so crawlers and AI assistants read it even when it is closed. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `Care instructions` | | | Body text | `content` | richtext | `Explain how to use, clean, or store the product.` | | | Show open by default | `open` | checkbox | `false` | | ## Collection header Type: `collection-header`. Collection header: the full title (the h1 of the page), the description, and the collection image. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Show collection image | `show_image` | checkbox | `true` | | ## Compatibility table Type: `compatibility-table`. Compatibility table. Says plainly what the product fits, what it does not fit, and when to ask. Rows are read from a product metafield of type "list of metaobjects" (custom.compatibility by default). Each entry has the fields: name, model_codes, status (fits, does_not_fit, or ask), and note. When the metafield is empty, the rows added to the block in the theme editor show instead. Each state has an icon and a word, never color alone. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `What it fits` | | | Metafield | `metafield` | text | `custom.compatibility` | Namespace and key of a product metafield of type "list of metaobjects", written as namespace.key. Each entry has the fields name, model_codes, status (fits, does_not_fit, or ask), and note. Rows added below show when the metafield is empty. | ## Contact form Type: `contact-form`. Contact form. A native Shopify contact form with labelled fields, a success message, and errors that name the field. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Ask for a phone number | `show_phone` | checkbox | `false` | | ## Custom Liquid Type: `custom-liquid`. Custom Liquid. An insertion point for app snippets and custom code, anywhere an app block can go. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Liquid code | `custom_liquid` | liquid | | Add app snippets or other code to create advanced customizations. | ## Facts Type: `facts`. Facts. A short row of facts a shopper can check: returns, delivery, guarantee. Each fact is a child block. Enter only facts that match the store's policies. Nothing is invented by the theme. ## Questions Type: `faq`. Questions and answers. Each question is a native disclosure (details and summary): it works without JavaScript and the answers stay in the HTML, so crawlers and AI assistants read them. Questions are read from a metafield of the page's product, collection, article, or page, of type "list of metaobjects" (custom.faq by default). Each entry has the fields question and answer. When the metafield is empty, the questions added to the block in the theme editor show instead. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Metafield | `metafield` | text | `custom.faq` | Namespace and key of a metafield of type "list of metaobjects", written as namespace.key. Each entry has the fields question and answer. Each product, collection, or article then has its own questions. Questions added below show when the metafield is empty. | ## Featured product Type: `featured-product`. Featured product. Image, full title, short description, price, and a way to buy: a one-tap Add to cart button for a product with one variant, a link to the product page when there are options to choose. Blocks placed inside (for example product facts) read the same product through `closest.product`. A placeholder shows until a product is chosen. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Product | `product` | product | | | | Label | `label` | text | `Featured product` | | | Show the start of the product description | `show_description` | checkbox | `true` | | ## Heading Type: `heading`. Heading. A single line of text rendered as h1, h2, or h3. A page must have exactly one h1: use level h1 only for the page title. On the home page, an empty h1 shows the slogan of the brand settings of the Shopify admin. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `text` | inline_richtext | `Talk about your brand` | On the home page, a Heading 1 left empty shows the slogan of Settings > Brand in the Shopify admin. | | Heading level | `level` | select | `h2` | Use Heading 1 only once per page, for the page title. | ## Country and language Type: `localization`. Country and language selectors. Native forms with a button: they work without JavaScript and never change the page on their own. A selector shows only when the store offers more than one choice. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Show the country selector | `show_country` | checkbox | `true` | Shown when the store sells to more than one country. | | Show the language selector | `show_language` | checkbox | `true` | Shown when the store is published in more than one language. | ## Menu Type: `menu`. Menu. A short list of links from one of the store's menus, with an optional heading. Nothing shows for an empty menu. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | | | | Menu | `menu` | link_list | `footer` | | ## Email signup Type: `newsletter`. Newsletter signup. A native customer form: it works without JavaScript and shows its own success and error messages. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `Updates by email` | | | Body text | `text` | text | | Say what subscribers receive and how often. | ## Payment icons Type: `payment-icons`. Payment icons. The payment methods the store really accepts (shop.enabled_payment_types), in color, drawn by Shopify. Nothing shows when the store has none. ## Buy buttons Type: `product-buy-buttons`. Buy buttons. The product form: selected variant, quantity, Add to cart, and accelerated checkout buttons. The form posts to the cart without JavaScript. Updated when the variant changes (region "buy-buttons"). | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Show quantity selector | `show_quantity` | checkbox | `true` | | | Show accelerated checkout buttons | `show_dynamic_checkout` | checkbox | `true` | Customers see their preferred payment method, such as Shop Pay or PayPal. | ## Complementary products Type: `product-complementary`. Complementary products, with a one-tap Add button. The list comes from Shopify's standard metafield "Complementary products" (shopify--discovery--product_recommendation.complementary_products), which merchants fill in the Shopify Search and Discovery app or in the product admin. It is rendered on the server: no JavaScript, and the links are in the HTML. Nothing shows when the list is empty. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `Goes with` | | | Maximum products to show | `limit` | range | `3` | | ## Product description Type: `product-description`. Product description. Rich text from the product, with the shared rich text styles. ## Gift card recipient Type: `product-gift-card-recipient`. Gift card recipient form. Shown on gift card products only. The buyer can send the gift card by email to someone else, with a name, a message, and a send date. The fields belong to the product form through the `form` attribute, so this block can sit anywhere in the product section. Shopify validates the fields when the product is added. The fields open in a native disclosure: no JavaScript is needed. ## Installments Type: `product-installments`. Shop Pay Installments banner. Shopify draws the banner and its legal text: the theme only places it. It follows the selected variant (region "installments"). Nothing shows when the store is not eligible. ## Product list Type: `product-list`. Product list. Products of one collection as cards, with a link to the whole collection. Small screens: two columns. Large screens: four columns. No carousel, so nothing moves on its own. Placeholder cards show until a collection is chosen. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Collection | `collection` | collection | | | | Products to show | `products_to_show` | range | `4` | | | Show a link to the collection | `show_view_all` | checkbox | `true` | Shown when the collection has more products than the list. | ## Pickup availability Type: `product-pickup-availability`. Pickup availability for the selected variant: the closest pickup location, then every location in a disclosure. Rendered in Liquid, so it works without JavaScript and follows the variant (region "pickup"). Nothing shows when the store has no pickup location for this variant. ## Product price Type: `product-price`. Product price for the selected variant: price, regular price when on sale, unit price, and the tax note. Updated when the variant changes (region "price"). ## Product title Type: `product-title`. Product title. Always shown in full, never truncated. Titles longer than 60 characters use a smaller size. It is the h1 of the product page. ## Variant picker Type: `product-variant-picker`. Variant picker. One row of buttons per option, never a dropdown. Color options show swatches. ## Quick answer Type: `quick-answer`. Quick answer. One question and one short answer, staged on the inverse background across the page. The answer says what the product is, who it is for, and what is included. It is read from a metafield of the page's product, collection, article, or page (custom.quick_answer by default), or typed in the block settings. It is in the HTML sent by the server, so AI assistants and crawlers read it. Nothing shows without an answer. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Question | `question` | text | `In short` | Shown above the answer. Leave empty to show the product or page title. | | Metafield | `metafield` | text | `custom.quick_answer` | Namespace and key of a text metafield, written as namespace.key. Each product, collection, or article then has its own answer. | | Answer | `answer` | textarea | | Shown when the metafield is empty. One or two sentences: what it is, who it is for, what is included. Facts only. | ## Related guides Type: `related-guides`. Related guides. Links from a product to the guides that help choose or use it. The list is read from a product metafield of type "list of articles" or "list of pages" (custom.related_guides by default). Nothing shows when the list is empty. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `Guides for this product` | | | Metafield | `metafield` | text | `custom.related_guides` | Namespace and key of a product metafield of type "list of articles" or "list of pages", written as namespace.key. | ## Shipping and returns Type: `shipping-returns-summary`. Shipping and returns summary. Three short facts near the buy button: shipping cost, delivery time, returns. Values come from the Shipping and Returns theme settings, the same values the structured data uses. A line is left out when its settings are empty. Nothing is invented. ## Social media links Type: `social-links`. Social media links. One icon per link filled in the Social media theme settings, the same links the structured data lists as official profiles. Nothing shows when no link is set. ## Specifications Type: `specs-table`. Specifications. The full table of measurable facts: rows from the product's metafields (one "Label: namespace.key" per line), then the SKU, barcode, and weight of the selected variant. It follows the variant (region "specs"). A row without a value is left out. Nothing shows when every row is empty. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `heading` | text | `Specifications` | | | Rows from product metafields | `rows` | textarea | | One row per line, written as Label: namespace.key, for example Diameter: custom.diameter. Category metafields use the shopify namespace, for example Color: shopify.color-pattern. A row shows only when the product has a value. | | Show the SKU | `show_sku` | checkbox | `true` | | | Show the barcode (GTIN) | `show_barcode` | checkbox | `false` | | | Show the weight | `show_weight` | checkbox | `true` | | ## Steps Type: `steps`. Steps. An ordered list of short steps, numbered 01, 02, 03 with a CSS counter. Each step is a child block. ## Store information Type: `store-info`. Store name and description. The description comes from the Brand identity theme settings, or from the brand settings of the Shopify admin when the theme setting is empty: the same text the structured data uses, so the page and the data say the same thing. ## Text Type: `text`. Text. Rich text with the shared rich text styles (.rte in assets/base.css). | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Body text | `text` | richtext | `Share facts about your products, your delivery, or your returns.` | | ## Who it is for Type: `who-its-for`. Who it is for. Two short lists: who the product suits, and when another choice is better. Saying when not to buy helps shoppers and gives AI assistants a clear, honest answer. Each list is read from a product metafield of type "list of single line text" (custom.who_its_for and custom.not_for by default), or typed in the block settings. A list without content is left out. Nothing shows when both are empty. | Setting | Id | Type | Default | Notes | |---|---|---|---|---| | Heading | `for_heading` | text | `A good choice if` | | | Metafield | `for_metafield` | text | `custom.who_its_for` | Namespace and key of a product metafield of type "list of single line text", written as namespace.key. | | Body text | `for_text` | textarea | | Shown when the metafield is empty. One line per point. | | Heading | `not_for_heading` | text | `Choose something else if` | | | Metafield | `not_for_metafield` | text | `custom.not_for` | Namespace and key of a product metafield of type "list of single line text", written as namespace.key. | | Body text | `not_for_text` | textarea | | Shown when the metafield is empty. One line per point. | --- # Metafields and metaobjects Definitions of every metafield and metaobject the Handoff theme reads by default. Create the metaobject definitions first, then the metafield definitions. Keys can be changed: each block has a "Metafield" setting written namespace.key. The definitions are in [`kit/metafields.json`](kit/metafields.json), ready for the GraphQL Admin API. Create the metaobject definitions first. ## Metaobject definitions ### FAQ item (`faq_item`) | Field | Key | Type | Required | Notes | |---|---|---|---|---| | Question | `question` | single_line_text_field | yes | The question, in the words customers use. | | Answer | `answer` | multi_line_text_field | yes | Starts with the answer itself, then the detail. Facts only. | ### Compatibility item (`compatibility_item`) | Field | Key | Type | Required | Notes | |---|---|---|---|---| | Model or family | `name` | single_line_text_field | yes | The machine, model, or family this row is about. | | Model codes | `model_codes` | list.single_line_text_field | no | Codes printed on the product, one per entry. | | Fit | `status` | single_line_text_field | yes | fits, does_not_fit, or ask. Use ask when the fit is not verified. | | Note | `note` | single_line_text_field | no | A short note, for example the adapter that is needed. | ## Metafield definitions | Owner | Metafield | Name | Type | Notes | |---|---|---|---|---| | product | `custom.quick_answer` | Quick answer | multi_line_text_field | One or two sentences: what the product is, who it is for, what is included. Shown in the Quick answer block. | | product | `custom.size` | Size | single_line_text_field | Main size with its unit, for example 58.5 mm. Shown in the At a glance block. | | product | `custom.material` | Material | single_line_text_field | Main materials, for example 304 stainless steel. Shown in the At a glance block. | | product | `custom.in_the_box` | In the box | list.single_line_text_field | What the buyer receives, one item per entry. Shown in the At a glance block. | | product | `custom.who_its_for` | Who it is for | list.single_line_text_field | Short points on who the product suits. Shown in the Who it is for block. | | product | `custom.not_for` | Not for | list.single_line_text_field | Short points on when another product is a better choice. Shown in the Who it is for block. | | product | `custom.faq` | Questions | list.metaobject_reference (faq_item) | Questions and answers about this product. Shown in the Questions block and declared as FAQPage structured data. | | product | `custom.compatibility` | Compatibility | list.metaobject_reference (compatibility_item) | What the product fits and does not fit. Shown in the Compatibility table block. | | product | `custom.related_guides` | Related guides | list.article_reference | Guides that help choose or use this product. Shown in the Related guides block. | | product | `custom.brand` | Brand | single_line_text_field | The real brand of the product. Declared as brand in structured data. Leave empty when the store is the brand and you do not want it declared. | | collection | `custom.quick_answer` | Quick answer | multi_line_text_field | One or two sentences that say what the collection holds and for whom. | | collection | `custom.buying_guide` | Buying guide | multi_line_text_field | Three to five sentences on how to choose among the products of this collection. Shown in the Buying guide intro block. | | collection | `custom.faq` | Questions | list.metaobject_reference (faq_item) | Questions and answers about this collection. | | article | `custom.faq` | Questions | list.metaobject_reference (faq_item) | Questions and answers at the end of this guide. | | article | `custom.related_products` | Related products | list.product_reference | Products named in this guide. Shown with a buy button in the Products in the article block. | | page | `custom.faq` | Questions | list.metaobject_reference (faq_item) | Questions and answers on this page. | --- # Styles A style is a preset of the theme: a set of colors and fonts. An assistant picks the style closest to the store brief, then applies the colors and fonts of the brand on top of it. ## Handoff The data sheet of a good instrument: paper background, ink text, thin rules, numbered sections, numbers in a monospace font. Trust through ordered facts, not slogans. Best for: Specialist brands with a small catalog that sell technical products and accessories to shoppers who compare sizes, compatibility, and specifications. Theme Store industry: Electronics. Catalog size: Few (2-10). | Font role | Font | |---|---| | heading | IBM Plex Sans 600 | | body | IBM Plex Sans 400 | | data | IBM Plex Mono 400 | | Color role | Value | |---|---| | background | `#F3F1EA` | | text | `#14161A` | | accent | `#B83A09` | | accent text | `#FFFFFF` | | inverse background | `#14161A` | --- # Fonts The theme works with every font of the Shopify font library. The fonts listed here load after the main image of the first screen without moving the text: until they arrive, the text uses a font of the device resized to the same measurements. A font that is not listed still works: it loads at once. 231 fonts are covered. Not covered: Open Sans Condensed. The list as data: [`kit/fonts.json`](kit/fonts.json). ## Display (27) Abril Fatface, Anybody, Bagel Fat One, Big Shoulders, Bungee, Caprasimo, Climate Crisis, Comfortaa, Funnel Display, Germania One, Gluten, Grandstander, Lobster Two, Modak, Passion One, Plaster, Playball, Poetsen One, Protest Riot, Red Rose, Shantell Sans, Tilt Warp, Titan One, Unica One, UnifrakturCook, UnifrakturMaguntia, Vina Sans. Device fonts used until the font arrives: Arial or Roboto. ## Handwriting (19) Caveat, Cedarville Cursive, Covered By Your Grace, Handlee, Kalam, Kaushan Script, Klee One, Nanum Pen Script, Nothing You Could Do, Pacifico, Pinyon Script, Playpen Sans, Playwrite CA, Rancho, Rock Salt, Sedgwick Ave, Shadows Into Light, Shadows Into Light Two, Smooch. Device fonts used until the font arrives: Arial or Roboto. ## Monospace (8) Anonymous Pro, Azeret Mono, Geist Mono, IBM Plex Mono, Inconsolata, Roboto Mono, Source Code Pro, Space Mono. Device fonts used until the font arrives: Courier New or Roboto Mono. ## Sans-serif (110) Abel, Acme, Alegreya Sans, Almarai, Anek Tamil, Anton, Archivo, Archivo Black, Archivo Narrow, Arimo, Arsenal, Asap, Assistant, Barlow, Barlow Condensed, Barlow Semi Condensed, Bayon, Bebas Neue, Bricolage Grotesque, Cabin, Carlito, Catamaran, Chakra Petch, Chivo, DM Sans, Dosis, Epilogue, Faculty Glyphic, Fahkwang, Figtree, Fira Sans, Fjalla One, Francois One, Fredoka, Funnel Sans, Fustat, Geist, Host Grotesk, Hubot Sans, IBM Plex Sans, IBM Plex Sans Condensed, Instrument Sans, Inter, Josefin Sans, Jost, Karla, Krona One, Krub, Lato, Lexend Zetta, Libre Franklin, Liter, Manrope, Maven Pro, Merriweather Sans, Michroma, Mona Sans, Montserrat, Muli, Nobile, Noto Sans, Noto Sans Display, Nunito, Nunito Sans, Open Sans, Oswald, Outfit, PT Sans, Plus Jakarta Sans, Poppins, Prompt, Proza Libre, Quantico, Quattrocento Sans, Questrial, Quicksand, Radio Canada Big, Rajdhani, Raleway, Recursive, Red Hat Display, Red Hat Text, Rethink Sans, Roboto, Roboto Condensed, Rubik, Saira, Saira Condensed, Saira Extra Condensed, Saira Semi Condensed, Sarabun, Schibsted Grotesk, Shippori Antique, Sofia Sans, Sofia Sans Condensed, Sofia Sans Extra Condensed, Sofia Sans Semi Condensed, Sono, Sour Gummy, Source Sans Pro, Space Grotesk, Syne, Tenor Sans, Titillium Web, Tomorrow, Trispace, Ubuntu, Unbounded, Urbanist, Work Sans. Device fonts used until the font arrives: Arial or Roboto. ## Serif (67) Alegreya, Aleo, Amiri, Andada Pro, Arapey, Arvo, Asul, Baskervville, Besley, Bevan, Bitter, Bodoni Moda, Buenard, Cardo, Cormorant, Crimson Pro, Crimson Text, DM Serif Display, DM Serif Text, Domine, EB Garamond, Eczar, Frank Ruhl Libre, Fraunces, Gelasio, Gilda Display, Gloock, Gowun Batang, Halant, Hepta Slab, IBM Plex Serif, Imbue, Inknut Antiqua, Instrument Serif, Josefin Slab, Kreon, Libre Baskerville, Libre Bodoni, Libre Caslon Text, Lora, Manuale, Marcellus, Martel, Merriweather, Montagu Slab, Nanum Myeongjo, Neuton, Newsreader, Noto Serif, Old Standard TT, Oranienbaum, Ovo, PT Serif, Petrona, Platypi, Playfair, Playfair Display, Rasa, Roboto Serif, Roboto Slab, Rokkitt, Source Serif 4, Taviraj, Trirong, Young Serif, Yrsa, Zilla Slab. Device fonts used until the font arrives: Times New Roman or Noto Serif. --- # Agent guide How the Handoff theme is built and the rules to follow when you change or configure it. Read `DESIGN.md` before any visual work. When the official Shopify documentation contradicts this file, the documentation wins: say so and fix this file. ## Priorities Apply this order to every decision: 1. small screens, 2. content that AI assistants can read and quote (GEO), 3. search engines (SEO), 4. large screens. ## Architecture Online Store 2.0, blocks first. ``` layout/theme.liquid document shell: head, header group,
, footer group templates/*.json one JSON template per page type, lists sections sections/*.liquid thin containers, no interface of their own sections/*-group.json header and footer section groups blocks/*.liquid theme blocks: all interface lives here snippets/*.liquid markup without settings, reused by blocks and sections assets/base.css tokens, reset, base type, layout, shared controls, header, breadcrumb, section containers assets/product.css first screen of product pages (gallery, buy area), product pages only assets/collection.css first screen of collection and search pages, those pages only assets/home.css first screen of the home page (hero, facts) assets/block-.css styles of one block, loaded where the block is rendered (also snippet-.css, section-.css) assets/loader.js the only script on first paint, loads components on demand assets/.js one ES module per interactive component (custom element) config/ theme settings schema and data locales/ storefront strings ``` Rules: - A section is a container. It renders `{% content_for 'blocks' %}` and accepts `{ "type": "@theme" }` and `{ "type": "@app" }`. Put markup in a block. - Use a static block (`{% content_for 'block', type: '...', id: '...' %}`) for parts that must stay in place, and dynamic blocks for the rest. - A section uses theme blocks or section-defined blocks, never both. - Shopify wraps a theme block in `
` by default. A block whose root element matters to its parent (a list item, a heading, a link, a child of a grid) sets `"tag": null` in its schema and prints `{{ block.shopify_attributes }}` on its own root element. - Child-only blocks are prefixed with an underscore (`_fact`, `_step`, `_faq-item`): Shopify offers them only inside the parent block that lists them. - Every block starts with a `{% doc %}` header, keeps `{{ block.shopify_attributes }}` on its root element, and has a `presets` entry so merchants can add it. - Every high-value block is self-contained: it reads its own settings and the resource it describes, so it can later ship as an app block. It must not depend on hidden global state. - The theme allows 300 theme blocks at most, including blocks generated by Sidekick. Do not create a block for a one-off need. - No code from Dawn or Horizon. This theme is original code. Conventions are inspired by Shopify's Skeleton theme (MIT). - No data that belongs to one store in theme files: no domain, address, delivery time, brand name, or regional wording. Use theme settings, metafields, metaobjects, or locale files. ## Patterns already in place - **Variant change.** Option values are real links to the variant URL, so the picker works without JavaScript. The `product-info` component fetches the section through the Section Rendering API and replaces the content of every element marked `data-variant-region=""` with the server-rendered content of the same name. To make a new block follow the variant, put that attribute on its root element. Nothing else is needed. - **Checks without JavaScript.** Blocks mark content that must be in the raw HTML with `data-check=""` (for example `price`, `description`, `shipping-returns-summary`). `scripts/check-no-js.mjs` reads these markers. - **Drawers without JavaScript.** The filter panel and the comparison table open with a link to their id and are shown with the CSS `:target` selector. A link back to the results closes them. On large screens they are always visible. - **Product list.** `snippets/collection-card.liquid` is one piece of markup with two layouts: a card on small screens, a table row on large screens and in compare mode. Its spec columns come from the settings of the `_collection-results` block (vendor, product type, an option, or a product metafield written as `namespace.key`). - **Heavy media.** External videos and 3D models show a preview image and a button. The player is in a `