Handoff theme documentation

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.