Hi,
I’m have trouble adding custom collapsible content to my product pages. Once I add collapsible content for a product with an icon it uses the same content on all my pages and all headings change to the same thing. Is there a way to have different collapsible content for each product?
I’ve inserted a photo with blue circles on where I would like to make changes but these sections seem to only allow one header and one description for all products?
Any help would be appriciated.
Thanks
Hi @arayvette ,
To make the contents in the collapsible dynamic, you need to use the metafield. Create a product metafield for the heading, and a product metafield for the contents. You need to provide the texts and descriptions in each product.
To create a product metafield:
-
From you Admin store, click the Settings on your left bottom corner.
-
Go to Custom data, then products
-
Copy the settings below,
To provide the metafield in the product:
-
From you Admin store, go to Products
-
Choose the product you want to edit.
-
Scroll all the way down until you see the metafield
-
Provide the text you want for this product
To call the metafields in the theme:
-
From you Admin store, go to Online store > Themes > Customize
-
Go to the theme editor, and click the button encircled in green on your image below