Skip to content
Faith
⌘K
Skip to content

How to add accordion in product page

Overview

Accordions are expandable rows on the product page, for example How long does shipping take for online orders? or What is your return and refund policy?. Customers click a row to read the answer, which keeps the page short while still giving them the information they need before buying. Use accordions for:

  • shipping and delivery times
  • returns and refunds
  • materials and care instructions
  • size and fit notes
  • product FAQs

The Accordions block holds the rows, and each row is an Accordion item. Faith’s default product template already includes an Accordions block, under Icon with text.

How to use

  1. Go to Online Store → Themes → Customize.
  2. From the page selector at the top, choose Products → Default product.
  3. Expand Product information → Product details.
  4. If there is no Accordions block, click Add block → Accordions, then drag it to where you want it, for example below Pickup availability.
  5. Select Accordions to set the style: Cards or Lines, the Toggle icon, Open one at a time, Gap and typography. See the Product Page article for all settings.
  6. Click Save.

Add an Accordion Item

Overview

Each Accordion item is one row, with a heading, an optional icon and its content. Add as many rows as you need, and drag them to change the order.

How to use

  1. Expand Accordions, then click Add block → Accordion item.
  2. Enter the Heading, for example How long does shipping take for online orders?
  3. Choose an Icon, for example Box or Truck.
  4. Add the content. See Add the Accordion Content below.
  5. Turn on Open by default if this row should be open when the page loads.
  6. Click Save. Drag the rows to reorder them.

Settings

SettingsDescription
HeadingEnter the row heading, for example What is your return and refund policy? Write it as a short question or topic customers look for.
IconShow an icon before the heading: None, Box, Delivery, Truck, Return, Shield, Washing, Ironing, Leaf, Ruler, Question, Chat or Info.
Row Content From PageSelect a page whose content shows in the row. See Option 2 below.
Open by DefaultShow the row open when the page loads. If Open one at a time is on in Accordions, turn this on for one row only.

Add the Accordion Content

Overview

A row’s content can come from a Text block, a page, or a product metafield. You can also add a Button (for example Read our full policy) or an Image (for example a care label) inside the row. When a row has both blocks and a page, the blocks show first, then the page content. Rows with no content are hidden on your live store, though they still show in the editor so you can fill them in.

How to use

Option 1: Text block (same text on every product)

  1. Expand the Accordion item and select its Text block, or click Add block → Text.
  2. Type the answer, for example Standard delivery takes 3–5 business days. Express shipping is available at checkout for delivery within 1–2 business days.
  3. Click Save. Every product that uses this template shows the same text.

Option 2: Page (one source for many products)

  1. In Shopify admin → Online Store → Pages, create a page, for example Shipping information, and write the content.
  2. In the editor, select the Accordion item, and choose the page in Row content from page.
  3. Click Save. To change the text later, edit the page once, and every product updates.

Option 3: Product metafield (different text on each product)

  1. In Shopify admin → Settings → Custom data → Products, click Add definition, for example Care instructions, type Multi-line text or Rich text.
  2. Open each product and fill in the metafield.
  3. In the editor, select the row’s Text block, click the Connect dynamic source icon, and choose the metafield.
  4. Click Save. Each product shows its own text, and products without it don’t show the row.

Settings

SettingsDescription
Text BlockThe simplest option. The same text shows on every product that uses this template.
PageBest for store-wide content such as shipping and returns. Edit it once in Online Store → Pages.
MetafieldBest for product-specific content such as materials, care or fit. Connect it to the Text block with the dynamic source button.
ButtonAdd a link inside the row, for example to your full refund policy page.
ImageAdd an image inside the row, for example a care symbol chart.

Tip: Keep 3–5 rows, and put the questions customers ask most at the top: shipping, returns, then product details. Short answers with a link to a full page work better than long text in the row.

Tip: To give different products different rows, create a new product template (see Create a New Product Template), set up its accordions, and assign it to those products.

Was this helpful?
Previous Enable/Disable the dynamic checkout button Next How to add complementary products