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

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

rachp528
Tourist
9 0 2

What am I doing wrong to get my metafield data to connect to my product's collapsible rows 😶

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

 

rachp528_0-1723228120821.png

 

2) On my template ("Colorblock") I have Collapsible Rows which I referenced the metafields via "Connect Dynamic Source"

 

1.png

 

3.png

 

3) Metafields on Product page populated with values

4.png

 

4) But values aren't populating on live page in the collapsible rows, they all show as empty

5.png

Replies 3 (3)

Priyanka_
Shopify Partner
83 15 22

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 .

Was I helpful? 

Buy me a coffee 



If I managed to help you then, don't forget to Like it and Mark it as Solution!

Kitana
Shopify Staff
265 19 58

Hi @rachp528. Welcome to the Shopify Community. 

 

Just to piggyback off what @Priyanka_ 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. 

Kitana | Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

PaulNewton
Shopify Partner
6921 623 1461

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.

Contact paull.newton+shopifyforum@gmail.com for the solutions you need


Save time & money ,Ask Questions The Smart Way


Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Thank Paul with a Coffee for more answers or donate to eff.org