Collapsible row

Topic summary

A Shopify store owner selling flower bulbs, seeds, and snips needs different collapsible row content for different product types—bulbs and seeds require growing/shipping instructions, while snips don’t need any collapsible rows.

Recommended Solution:

  • Use product metafields to dynamically populate collapsible rows with product-specific content
  • Create custom metafield definitions (e.g., “Growing Instructions,” “Shipping Instructions”) in Shopify Admin → Settings → Custom data
  • Add content to metafields on individual products; leave blank for products that don’t need instructions
  • Connect metafields to collapsible rows via Theme Editor using “Connect Dynamic Content”

Alternative Approaches Mentioned:

  • Creating separate product templates for different product types
  • Fetching data from metafields (general suggestion)

Outcome: The metafield solution was successfully implemented and resolved the issue.

Summarized with AI on October 28. AI used: claude-sonnet-4-5-20250929.

I’m wondering if there is a way to have different collapsible rows for different collections of product?

IE: I sell flower bulbs and flower seeds but they both require different instructions/growing/shipping. I also sell flower snips, and those don’t require a collapsible row.

Thank you!

3 Likes

In order to make it different for different products and collections then you need to fetch the data from the meta-fields.

Share your store URL so that I take a look.

Thanks

@smander hey, thanks for posting here.
Please create a new product template for a specific product.

1 Like

Use product metafields to dynamically show growing/shipping instructions inside your theme’s existing collapsible rows — without adding new sections.


Step 1: Create Metafields1. Go to Shopify Admin → Settings → Custom data → Products

  1. Click “Add definition”

  2. Create metafields like:

    • Name: Growing Instructions

      • Namespace and key: custom.growing_instructions

      • Content type: Multi-line text

    • Name: Shipping Instructions

      • Namespace and key: custom.shipping_instructions

      • Content type: Multi-line text

  3. Save


Step 2: Add Content Per Product1. Go to Products

  1. Choose a product (like a bulb)

  2. Scroll to the Metafields section at the bottom

  3. Fill in the appropriate instructions

    • Leave blank for products like flower snips
  4. Save


Step 3: Insert the Metafields in Collapsible Rows1. Go to the Theme Editor

  1. Product page editor
  2. In the Collapsible row you should see a “Content box” where you normally write the content you want to share.
  3. Click the 3 small circles “Connect Dynamic Content”
  4. Select the metafield you created.

Result- The same collapsible row layout stays in place

  • Products like bulbs/seeds show custom instructions

  • Products like snips (with blank metafields) will show a fallback message or nothing

If you need any help please ask!

Gustav [email removed] Iggy

https://fleurelleflowerfarm.ca/

This works perfect, thanks so much!

1 Like