Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Use collection metafields as dynamic source on collection pages

Use collection metafields as dynamic source on collection pages

MPMachado
Shopify Partner
9 0 10

Hi, 

 

Now that we have collection metafields working, would be nice if we can use metafields as dynamic sources as we use on the product page.

 

Do you think that it would be possible in near future?

https://alaska.agency
Replies 4 (4)

lebas1
Visitor
2 0 0

Agreed!

MPMachado
Shopify Partner
9 0 10

it's already working 🙂

https://alaska.agency
lebas1
Visitor
2 0 0

Not on the product pages though? Would love to know how to link products to a metadata collection page (like the product vendor)... seems we can only do this with page references, not collection references?

MPMachado
Shopify Partner
9 0 10

To use metafields you need some "context". In the product or collection page, you already have, because request the object in the page itself. To use metafields data in a product page for example, try to create a section where you choose a collection. I don't tested on product page, but I did on home page and it worked

https://alaska.agency