Collapsible rows block
Last updated
Last updated
Collapsible row blocks reveal additional text when opened. Use these blocks to organize product details and extra information.
Under Product overview, click (+) Add block and select Collapsible row. Use the drag-and-drop handles ⋮⋮
to re-order blocks. Click a row block to start adding content.
You can display row blocks in the product overview's left or right column. You can also insert content from a page created in your Shopify admin.
Click Collapsible row block to find settings
Expand by default
Show row as already opened with the text revealed.
Heading
The title of the row.
Body
Add text that's revealed when the row is opened. Use the buttons to make the text bold or italicized, or to add a link.
Page for content
Display content from a page create in your Shopify admin. This option is useful for creating and displaying tables (for product guides).
Custom liquid
Add custom Liquid code for apps or custom content.
See Shopify's Liquid reference guide and Liquid code examples to learn more.
If you want to show different text for specific products, you can use Shopify's metafields and dynamic sources. These features allow you to store custom information for each of your products and automatically display that information on the correct product pages.
Follow the steps below to create metafields for your products, add text to your products' metafields, then use Dynamic sources to connect those metafields to text fields in your theme editor.
For a general introduction, see our Dynamic sources and metafields tutorial.
Shopify's Metafields lets you store additional information about your products. You can create custom fields to hold different types of information in your Shopify admin, and enter unique content for each of your products.
The steps below tell you how to add a metafield for storing text that you want to display in the accordion block.
Once you've created Metafields for your products in the Shopify admin, you can now add content to those fields for your products in the Shopify admin.
Now that the Metafields of your products have content, you can go to the theme editor to insert a Dynamic source to the Collapsible row block.
Related links