Product Metafields / Dynamic Source in Collapsible Row not working as expected

What am I doing wrong to get my metafield data to connect to my product’s collapsible rows :face_without_mouth:

  1. My product metafields are here under Admin > Custom Data > Products > Assigned to All Products

  1. On my template (“Colorblock”) I have Collapsible Rows which I referenced the metafields via “Connect Dynamic Source”

  1. Metafields on Product page populated with values

  1. But values aren’t populating on live page in the collapsible rows, they all show as empty

Hi @rachp528

It sounds like you’ve done most of the setup correctly, but there might be a few things to check to troubleshoot why your metafield data isn’t showing up in your collapsible rows. Here are some steps to consider:

  1. Double-check that the metafields are correctly configured and assigned to all products. Ensure the data type and namespace match what you’re trying to display. Ensure the product you are reviewing has assigned the value within metafields.

  2. Clear any caches that might be causing outdated information to be displayed. This could include your browser cache or any caching mechanisms in your Shopify store.

If you’re still having trouble after these checks, providing of URL of your website that could help diagnose the issue further or you can DM me .

Hi @rachp528 . Welcome to the Shopify Community.

Just to piggyback off what @Priyanka_1 has shared, you can also find more information on how to correctly set up your metafields in the Shopify Help Center. Usually it’s one small error that causes this to now display as intended.

I would also suggest cross posting this to the Shopify Partners and Developers forum so more eyes can see and offer help.

The last screenshot shows the text “Test Test” above and outside all the collapsible blocks which corresponds with 2 of the mfdefs having the singular value “text” each.

If that is not from some other test block for custom liquid, and the text appears/disappears when connecting/disconnecting the dynamic sources in the collapsible blocks then it’s possible something is wrong with your theme.

Issues could then be anything from prior code customizations, or custom-liquid/html sections/blocks with malformed html causing a parse issue.