You can add collapsible rows directly in Shopify's theme editor, provided your theme supports them. For example, Shopify's Dawn theme includes a Collapsible row block, so you don't need to install an app or write code.
The important part is deciding whether every product should show the same information or whether each one needs its own content.
Say you're selling a linen shirt and an insulated water bottle. The shirt needs washing instructions, while the bottle needs cleaning and care details. You wouldn't want both products displaying the same information just because they share a page template.
That's where Shopify's product metafields come in. They let you give each product its own content while keeping the same page layout.
We'll walk through both approaches using Dawn. If you're using another theme, the settings and block names may look a little different.
Key Takeaways
- Check your theme first. Dawn includes a native Collapsible row block inside Product information.
- Know what's shared. Text typed into a product template can appear on every product assigned to it.
- Use metafields for different products. One accordion can display separate care instructions for each item.
- Check empty values. A missing metafield value doesn't necessarily hide the row heading in Dawn.
- Preview the actual products. Test a filled-in shirt, a filled-in bottle, and a product with no instructions before publishing.
Can You Add Shopify Product Page Collapsible Rows Without an App?
Yes. If your Shopify theme supports collapsible rows, you can add them without installing an app or writing code.
Shopify's Dawn theme already includes a Collapsible row block. Other themes might call the same feature an Accordion, Product tabs, or Collapsible content. Check your theme's settings and documentation before looking for an app.
But before you start, note that adding a collapsible row and giving each product its own content are two different things.
Your product template controls how the page looks. If you type washing instructions directly into a collapsible row, every product using that template may show those same instructions.
That's fine for information that applies to all those products. But what if your linen shirt needs washing instructions and your insulated water bottle needs cleaning instructions?
You can use Shopify product metafields to store different information for each product while keeping the same collapsible-row layout.
Here's how the available options compare:
For most stores using Dawn, start with the built-in Collapsible row block. Add metafields when you need product-specific content. There's no reason to introduce an extra app if your theme already does what you need.
Before making changes, duplicate your Shopify theme and work on the unpublished copy. That way, you can check how everything looks and works before updating your live store.
How to Add a Collapsible Row in Shopify's Dawn Theme
Open the correct product template and add the block under Product information. Shopify documents this path in its product-care metafield tutorial.
In Shopify admin, open Online Store → Themes and select Edit theme for the copy you're editing.
Use the page selector to choose Products → Default product. If your products use another template, open that one instead.
Under Product information, click Add block → Collapsible row.
Set the heading to Care instructions. Choose an icon or None.
For a shared statement, enter text in Row content. Drag the block to the intended position and click Save.
Preview the page and expand the row to check the result.
Here's the trap: suppose you type Machine wash cold into Row content. Your linen shirt looks right, but the insulated bottle may now display the same instructions because both products use Default product.
You don't need another template for every item. Keep the shared accordion layout and make its content dynamic.
How to Show Different Accordion Content for Each Product
To show different accordion content on each Shopify product page, use product metafields. They let you keep the same collapsible-row layout while displaying information specific to whichever product a customer is viewing.
Let's use our linen shirt and insulated water bottle as examples. Both products need a Care instructions section, but the actual instructions should be different.
Here's how to set that up in Dawn.
1. Create a Product Metafield
In Shopify admin, go to Settings → Metafields and metaobjects → Product metafields → Add definition.
Name the field Care guide, select Shopify's suggested standard definition, and save it.
Shopify already provides a standard Care guide metafield. It's designed mainly for clothing care, accepts multiple lines of text, and has a 500-character limit.
That's convenient for this example, although a store selling different types of products might prefer a custom product metafield with a more suitable name.
You can create one using a compatible field type, such as multi-line text. Just remember that not every theme setting supports every metafield type. For example, a rich-text field won't necessarily connect to a setting designed for plain text.
Creating the metafield doesn't add any instructions to your products yet. It simply gives you a place to store them.
2. Add Care Instructions to Each Product
Now go to Products in your Shopify admin and open the linen shirt.
Find Product metafields → Care guide, enter the care instructions, and save.
For our example, that might be:
Wash in cold water on a gentle cycle. Air-dry to help preserve the fabric's shape.
Next, open the insulated water bottle and enter its own instructions in the same field:
Hand-wash the lid. Clean the bottle with warm water and mild dish soap.
These are just examples. When updating your actual store, use the care instructions provided by your supplier or manufacturer.
You now have two products using the same metafield, but each has its own content.
3. Connect the Collapsible Row to Your Metafield
Go back to Online Store → Themes → Edit theme and open Products → Default product.
Find the Care instructions collapsible row you created earlier.
If you've already typed instructions directly into the Row content setting, remove them. Otherwise, that same text could appear across products using the template.
Next, click Connect dynamic source beside Row content, select your Care guide metafield, and save.
That's the important connection. Instead of displaying text you've entered into the shared template, Shopify will now pull the Care guide value saved for the product being viewed.
Shopify's dynamic-source documentation explains how these connections work and which settings support them.
4. Preview Both Products to Check the Content
Before publishing, check that the correct instructions appear on each product page.
In the theme editor, find Preview → Change and select your linen shirt.
Open the Care instructions row and check the text.
Then use Change again to preview the insulated water bottle. Open the same row.
Both pages should have the Care instructions heading, but the information underneath should match the individual product.
Shopify explains how to switch between products in its template documentation.
If both products still show identical instructions, go back and check the metafield connection. Make sure you haven't left static text in Row content and that each product has its own saved Care guide value.
Once that's working, you can use the same approach for other products without creating a separate page template for every item.
What Happens If a Product Has No Metafield Value?
If a product doesn't have a value saved in its metafield, the collapsible row may still appear, just without any content inside.
For example, let's add a ceramic mug to our store. We haven't entered anything in its Care guide metafield, but it uses the same product template as the linen shirt and water bottle.
When someone opens the mug's Care instructions section, they might see an empty accordion.
That's because Shopify's Dawn theme doesn't automatically hide the entire row when its content is missing. In the current Dawn product-section code, the accordion heading and container are rendered even when Row content has no value. The exact behavior may differ depending on your theme version.
Before making any changes, preview a product with an empty metafield.
In the theme editor, go to Preview → Change and select the ceramic mug. Open the Care instructions row and see what happens.
If it opens into an empty space, first check whether you've accidentally left static text in the row settings.
If you have different product categories that need different information, separate product templates might be the simplest solution.
For a larger store where only some products need care instructions, a developer can help you make the row appear only when the product has content to display.
Avoid using a quick CSS fix that hides accordion headings without checking the rest of your store. You could end up hiding useful information on products that do have care instructions.
How Do Collapsible Rows Work With Multiple Product Templates?
You don't need a separate product template just because two products have different information. That's what metafields are for. But if different types of products need different accordion sections, using separate templates can make more sense.
Think about our linen shirt and insulated water bottle.
The shirt might need collapsible rows for Materials and Care instructions. The water bottle, on the other hand, would benefit from Cleaning instructions and Capacity details.
Rather than showing every section on every product, you could create one template for apparel and another for drinkware.
To assign a template, go to Products in Shopify admin, open the product, and find the Theme template dropdown. Choose the appropriate template and save.
There's one detail worth knowing if you're working on a duplicate theme.
Shopify only lets you assign templates from your currently published theme through the product editor. So, if you've created a new template in an unpublished copy, don't be surprised if it doesn't appear in that dropdown yet.
You can still preview the new template while editing your draft theme. Shopify explains this distinction in its product template documentation.
And remember, there's no need to create a separate template for every product or variant.
If your shirts all use the same layout but need different washing instructions, one template connected to product metafields will do the job.
Use metafields when the information changes. Use different templates when the page layout needs to change.
What If Your Shopify Theme Has No Collapsible Row Block?
If your theme doesn't have a Collapsible row block, check whether it offers a similar accordion feature before installing an app. Some themes include expandable sections under different names, so you may already have what you need.
If there's no built-in option, you have two ways to add one.
The easiest is usually a Shopify app. For example, Advanced Product Tabs supports accordion layouts and can display content from product metafields.
According to its Shopify App Store listing, the free plan covers three products and one tab. If you have a larger catalog, you'll need to look at its paid options.
Before installing it, check the current pricing and make sure it works with your theme. An app listing doesn't guarantee it'll behave exactly as expected on your store.
The other option is to have a developer build the accordion directly into your theme.
HTML already has <details> and <summary> elements that can create expandable sections without requiring extra JavaScript. A developer can combine these with Shopify Liquid to pull information from product metafields and hide the accordion when there's no content to show.
That gives you more control over how the sections look and behave, although the result still needs proper styling and accessibility testing.
If you go this route, make changes in a duplicated theme and keep track of which files you've edited. You'll want a way to undo those changes if something breaks.
Shopify's theme code editor guide explains how to restore previous versions of individual files. Just remember that the editor's Timeline isn't a backup of your entire theme.
For a better understanding of how these customizations work, see our Shopify Liquid code examples.
For most stores, though, custom code should be the fallback, not the starting point. If your theme already supports accordions and product metafields, there's little reason to make the setup more complicated.
How Should You Test Product Accordions on Mobile and for Accessibility?
Before publishing your collapsible rows, check how they work on a real phone and make sure customers can use them without a mouse. An accordion isn't much help if shoppers struggle to open it or read what's inside.
Start by opening your product page on a phone. Expand each row and check that the text is easy to read. Make sure nothing overlaps the variant selector or a sticky Add to Cart button.
Pay particular attention to longer instructions. They shouldn't force customers to scroll sideways or cause the page to jump unexpectedly when a row opens.
Next, check keyboard accessibility.
Use the Tab key to move through the page until the accordion heading is highlighted. You should be able to open and close it using Enter or Space.
If possible, test with a screen reader as well. It should announce what the accordion is called and whether it's expanded or collapsed.
The W3C accordion guidelines explain how button-based accordions should behave. If your theme uses native HTML <details> elements, those have their own built-in accessibility behavior.
Also, think about which information belongs inside an accordion in the first place.
Care instructions are usually fine to keep collapsed until someone needs them. But important details about the price, available variants, stock, or material limitations shouldn't be difficult to find when someone is deciding whether to buy.
Final Checklist Before Publishing
Go back to our three example products and check the following:
- Linen Shirt: Does the Care instructions row show the correct information?
- Insulated Water Bottle: Does the same row display the bottle's own cleaning instructions instead of the shirt's?
- Ceramic Mug: If there's no Care guide value, does the page avoid showing a confusing empty accordion?
- Product templates: Is each product using the layout you intended?
- Accessibility and mobile: Can shoppers open the rows with touch, a keyboard, and a screen reader?
- Buying process: Do variant selection, Add to Cart, and checkout still work properly?
Once everything checks out, you can publish your changes knowing that the accordions display the right content and don't get in the way of customers making a purchase.
Troubleshooting Common Shopify Accordion Problems
If your Shopify accordions aren't displaying the right content, check the product metafields and template settings before changing any code. Most issues come down to where the content is stored or which template the product uses.
Here are some common problems and how to fix them:
- Every product shows the same instructions. You've probably entered the text directly into a shared product template. Check whether Row content is connected to a product metafield, then make sure you've saved different values for each product.
- Your metafield doesn't appear when you try to connect it. Make sure you created a product metafield, not one for another resource type. Also check that its field type works with the setting you're trying to connect it to.
- The accordion opens, but there's nothing inside. Open the product in Shopify admin and check whether its metafield has a saved value. Then confirm that the collapsible row is connected to the correct field. Remember, Dawn may still display the heading even when the content is empty.
- You're seeing duplicate headings or the wrong accordion sections. Check whether you've added the same block twice or have another accordion section running through an app. Also make sure the product is assigned to the template you intended.
- Your accordions stopped working after a theme update. Compare the updated theme with your backup. Look for custom code or app integrations that may no longer work as expected. If the problem affects the theme's built-in accordion, contact the theme developer for help.
Shopify also covers the issue of collapsible rows showing the same content across multiple products in its theme troubleshooting guide.
The main thing is to find out where the problem starts. If the wrong text appears, check the metafield connection. If the wrong sections appear, check the template. And if the accordion itself doesn't work, investigate the theme or app before making further changes.
Check the Content Before Publishing
You don't need another app just to show different care instructions or product details in collapsible rows. If your Shopify theme supports accordions, connecting them to product metafields is usually enough.
Start with one row and check that it displays the right information on two different products. Then preview a third product without a metafield value to make sure customers won't see an empty or confusing section.
Once everything looks right and works properly, you can apply the same setup to the rest of your catalog.
For questions that apply to your entire store, rather than individual products, see our guide to adding a Shopify FAQ page.
And if you're planning more extensive changes to your product pages, our Shopify product-page customization guide covers your options.
You can also use PagePilot's AI product-page generator to create an editable product page as part of a larger redesign. Just keep in mind that PagePilot isn't a replacement for Dawn's built-in accordion settings or Shopify's metafield connections.
The goal? Give customers the information they need, on the product page where they need it, without making your store harder to manage. Simple as that.




