Shopify themes, liquid, logos, and UX
Would like to add UNIQUE collapsible rows to my product pages. We use Dawn theme. Similar to the below - which is taken from www.bjjfanatics.com
But they would need to be customized in the following way
Let me know if this is something feasible and doable - or might take a lot more development than I realize. We could potentially explore other options to display the same information but this is the preferred method.
Hello @Danceddiction ,
Development requirement to achieve it.
And there are 2 ways to do it both include metafields:
1) Use regular field type single line text and multi-line text.
Using these fields parent row title will be dynamic and easy to manage but child row title content and title will be through table with html tags.
2) Using field type JSON. Everything will be dynamic without use of html but you need to follow the format.
Regards
Naveen
#1 seems challenging because I need a way to customize the number of rows in the collapsible content. I've attempted using metafields but wouldn't that mean each page will have to display a certain number of rows no matter what? I haven't figured out how to adjust that part.
#2. I have not worked in JSON - is there something you can point me to too help work through how to implement this way?
Here is an example of JSON
[
{
“parent_title”: “Volume 1”,
“Child_title": “Chapter Title”,
“row_1”: “Intro”,
“row_1_content”: “0.00 - 3.14”,
“row_2”: “Stance And Motion”,
“row_2_content”: “3.14 - 7.14”
},
{
“parent_title”: “Volume 2”,
“Child_title": “Chapter Title”,
“row_1”: “Intro”,
“row_1_content”: “0.00 - 1.14”,
“row_2”: “Stance And Motion”,
“row_2_content”: “1.14 - 4.14”
}
]
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025