Reputation: 1043
I've got a product with a product reference metafield, and the only information I seem to be able to output is the term 'ProductListDrop'
I'm not able to get any of the title, image etc to output at all. The field has been filled in, just wondering if I am accessing it wrong below?
<p> {{ product.metafields.custom.bundle_bottles.value.title }} </p>
Cheers, Marc.
Upvotes: 0
Views: 2988
Reputation: 11427
A Drop is a term presented to you when you are given an Object to work with, but that Object is not ready for immediate consumption.
Imagine your metafield was a String instead of a list.
<p> {{ product.metafields.custom.bundle_bottles.value }} </p>
You would see the text value stored in the metafield.
So when you setup your Metafield, what type did you choose? When you save data with your Metafield of Type XYZ, what does that data look like?
Without knowing what you saved your data as, it is hard to know why Shopify is informing you of a Drop instead of actual data.
Upvotes: 1