Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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
2) On my template ("Colorblock") I have Collapsible Rows which I referenced the metafields via "Connect Dynamic Source"
3) Metafields on Product page populated with values
4) 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_ 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
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
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024