Documentation

Add trust badges, tabs and accordions

Reassure your customers with badges (shipping, returns, warranty) and organize product details in accordions or tabs, powered by metafields when needed.

Right below the buy button, customers look for two things: reassurance (shipping, returns, warranty) and a quick way to find specific information (dimensions, care, materials). Story Theme covers both with three blocks: Trust badges, Accordion / FAQ (or Collapsible row) and Tabs.

Below the buy button, four badges as cards (natural materials, small batches, plastic-free, 30 days) then accordions for Dimensions, Materials and care, Shipping and returns, Warranty
Below the buy button, four badges as cards (natural materials, small batches, plastic-free, 30 days) then accordions for Dimensions, Materials and care, Shipping and returns, Warranty

Add trust badges

  1. Open Online Store > Themes > Edit theme, template Products > Default product.
  2. In the Product page section, expand the Group and click Add block.
  3. Choose Trust badges in the Reviews and trust category. The block comes with four Badge sub-blocks.
  4. Drag it below Buy buttons.
  5. Click each Badge and fill in:
    • Icon: choose from the theme's library (Truck, Return, Lock, Check mark…);
    • or Badge image: a logo or a certification (B Corp, organic…), which replaces the icon;
    • Heading and Text: "30-day returns", "Change your mind for free";
    • Link (optional): to your shipping or returns page.
  6. Click Save.

The Trust badges block settings control the presentation: Layout (Row or Grid, with the number of columns on desktop and on mobile), Direction (icon next to or above the text), Style (Plain, Card, Outline), Icon size and Single color icons.

A row of four trust badges with icons: vermeil, 2-year warranty, 30-day returns, gift box included
A row of four trust badges with icons: vermeil, 2-year warranty, 30-day returns, gift box included

The Trust badges block can also go in any section of the home page or the cart.

Organize details in accordions

The product page that ships with the theme already contains a Group with two Accordion / FAQ blocks, below the description. Each accordion has a clickable heading and content that expands.

  1. In the buy column, expand the Group that contains the accordions.
  2. Click an Accordion / FAQ and fill in the Heading (for example "Shipping and returns") and the Content.
  3. To reuse a long text you've already written, choose a Page: its content is added below the accordion's content. Handy for showing your "Shipping and returns" page on every product page.
  4. To add one, click Add block in this Group and choose Accordion / FAQ.

Useful settings:

  • Open by default: for the most important information.
  • Close other accordions when this one opens (checked by default): opening one panel closes the others.
  • Style: Minimal (bottom line), Card (background and border) or Filled (background only); Open / close icon: Plus / minus, Chevron or None.
  • Icon: a small icon in front of the heading.
Material, Fit and Shipping and returns accordions below the buy button, with the Fit panel open
Material, Fit and Shipping and returns accordions below the buy button, with the Fit panel open
On the Sylys demo store, accordions with an icon in front of each heading, the "How to apply" panel open
On the Sylys demo store, accordions with an icon in front of each heading, the "How to apply" panel open
On the Lumyx demo store, minimal-style accordions with the "Shipping and returns" panel open, followed by a row of three trust badges
On the Lumyx demo store, minimal-style accordions with the "Shipping and returns" panel open, followed by a row of three trust badges

Put other blocks in a panel: the collapsible row

An Accordion / FAQ only contains text. To collapse something else, for example the Product description, a specifications table or a Size guide, use the Collapsible row block (Layout category): it can hold any blocks. Add it, give it a Heading, then add the blocks you want inside it.

Outlined collapsible rows, each with an icon: Safety and care, Shipping and returns, Gift wrapping
Outlined collapsible rows, each with an icon: Safety and care, Shipping and returns, Gift wrapping

Organize content in tabs

The Tabs block (Layout category) shows several pieces of content side by side, with only one visible at a time: "Description", "Ingredients", "How to use".

  1. Add the Tabs block in the buy column or in a section below the product page. It comes with two Tab sub-blocks.
  2. For each Tab, fill in the Tab label, then add the blocks to display inside it (text, image, product description…).
  3. Choose the Tabs style (Pills, Underline, Minimal) and the Tab position on desktop (Top or Left).
Pill-style tabs on the Hopla demo store: one age range per tab, each with its own product selection
Pill-style tabs on the Hopla demo store: one age range per tab, each with its own product selection
Tabs that group FAQ accordions by topic: Orders and payment, Shipping, Returns and exchanges
Tabs that group FAQ accordions by topic: Orders and payment, Shipping, Returns and exchanges
Screenshot to take — Theme editor > Products > Default product > Product page > Group > "Tabs" block expanded with two "Tab" sub-blocks (Description, Ingredients); Tabs block selected, settings panel open on the Style group; preview showing the tabs as pills

Accordions or tabs? On mobile, accordions read more naturally. Tabs work well for a few short pieces of content of similar length.

Show different content for each product

Text entered in the editor is the same on every product page that uses the template. For content specific to each product (ingredients, dimensions, tips), use a metafield:

  1. In Shopify, open Settings > Custom data > Products and create a metafield definition, for example "Ingredients", of type multi-line text or rich text.
  2. Fill in this field on each product's page in the admin, at the bottom.
  3. In the editor, open the relevant accordion, click the dynamic source icon next to the Content field, then choose your metafield.
Screenshot to take — Theme editor > Products > Default product > Product page > Group > "Accordion / FAQ" block selected: "Connect dynamic source" window open above the Content field, product metafield "Ingredients" visible in the list
On the Lumyx demo store, a specifications table and product-specific accordions: dimensions, connectivity, compatibility, what's in the box
On the Lumyx demo store, a specifications table and product-specific accordions: dimensions, connectivity, compatibility, what's in the box

Each product page then shows its own text. Many other text fields in the theme also accept a dynamic source: look for the same icon next to the field.

Learn more