How can I automatize products descriptions as collapsible rows?

Hi! I was looking for a way to make all the products descriptions automatically show as collapsible rows, but apparently I can’t use the metafields, right? Actually, I can, if I create a separete field for each product, but how I’m gonna make that to 100+ itens? It would take a looonggg time.

Hi @Avvoyer ,

We can customize the code and make the description to be displayed in the collapsible rows.

Let me know if you need help with implementing it.

Thank you

Hi! I’m a complete noob at coding, so I need help. :slightly_smiling_face: url: avvoyer.com password: seipra

I’m currently using Craft and my url: avvoyer.com password: seipra

Hi @Avvoyer ,
This is Theodore from PageFly - Shopify Page Builder App.

Want collapsible product descriptions in your Shopify store but creating separate metafields is a pain? Here are better options:

1. Edit theme code (developers only):

  • Pros: Efficient for all products, customizable look and behavior.
  • Cons: Requires coding knowledge, time-consuming setup.

2. Shopify App (recommended):

  • Pros: Easier to use, no coding needed, often customizable.
  • Cons: Might cost money, limited customization compared to code.

Best regards,
Theodore | PageFly

Hi, @Avvoyer ! This will depend on the theme you’re using, but if you’re using an Online Store 2.0 theme you should be able to do this within your Shopify admin and theme editor using metafields and dynamic sources. Essentially, to do this you will need to create metafields for your descriptions and type your descriptions under that metafield on each product page instead of using the default ‘Description’ field where you would typically type your descriptions. You would then create a collapsible row section in your theme editor and connect your description metafield to it using the dynamic sources button. This will allow the description to dynamically change based on which products is being viewed. You can learn more about using metafields and dynamic sources here. The following guides can help you out as well: