Product tabs

1 min read, updated

View as Markdown

Not in the templates, which put the same rows in the buy box (Details row blocks). Add it for a tab band instead: from 1200 px wide a row of tabs under the main product, and the band keeps the height of the tallest panel so switching never moves the page. Below that: rows that each open on their own. The buy box’s Read more opens the description in the buy box’s details rows, or here when the buy box has none.

Blocks: Tab (up to 6): label, content from the product description, a product metafield, or text, with an optional heading (or heading metafield) and note. A metafield or description tab with nothing in it is left out. Fact: a label and a metafield key, with text for when the metafield is empty. Facts show in the tab above them in the block list.

Can be added to product templates only.

Settings

Tabs from 1200 px wide, rows under the buy box on smaller screens. A tab with no content for this product doesn’t show.

Setting Choices
Color scheme Paper (default)

Also: Section spacing, as on every section (see How sections work).

Blocks

Up to 30 blocks in all.

Tab

Up to 6.

Setting Choices Notes
Label
Content Product description, Product metafield, Text (default)
Metafield key The key in the custom namespace, such as how_to_wear. Text, list, or rich text. Only with Content: Product metafield.
Text Rich text With Product metafield, this shows when the product has no value. Not with Content: Product description.

Heading

Setting Choices Notes
Heading
Heading metafield key A key in the custom namespace, such as description_heading. Used before the heading above.
Note

Fact

Shows in the tab above it in the block list.

Setting Choices Notes
Label
Metafield key The key in the custom namespace, such as family or origin.
Text when the metafield is empty
Contents