Re: "Reference" metafield?

Solved

How to pull in the 'reference' metafield using dynamic text?

NetherworldPost
Tourist
4 0 1

Hello -- I'm looking for what section the "reference" metafield can pull in using the dynamic text. I'm successfully pulling in other Metafields (so I now the core is working), and I'm looking at a product in the product design screen that has active "reference" data.

 

But "reference" isn't showing up as an option.

 

Help?

 

Thanks!

Accepted Solution (1)

MetafieldsGuru
Shopify Partner
160 32 104

This is an accepted solution.

Hi @NetherworldPost ,

 

To my understanding, you're dealing with the product reference metafield. The difference between the product reference metafield and a text/integer metafield is that payload returned by Liquid is not a plain text value, but a product object. In order to get more data from that object, you'll need to add extra code. Luckily, I've already explained it in a similar thread, here's the link.

 

Hope this helps!

Check out Metafields Guru, the #1 ranked metafields app.

Bulk editor | Data import/export | Metafield sets | Browser extension

View solution in original post

Replies 2 (2)

MetafieldsGuru
Shopify Partner
160 32 104

This is an accepted solution.

Hi @NetherworldPost ,

 

To my understanding, you're dealing with the product reference metafield. The difference between the product reference metafield and a text/integer metafield is that payload returned by Liquid is not a plain text value, but a product object. In order to get more data from that object, you'll need to add extra code. Luckily, I've already explained it in a similar thread, here's the link.

 

Hope this helps!

Check out Metafields Guru, the #1 ranked metafields app.

Bulk editor | Data import/export | Metafield sets | Browser extension
NetherworldPost
Tourist
4 0 1
Thank you!