Get metafields used to create automatic collection on collections page

1 0 0

I have created an Automated Collection in my store which gets all variants with a particular metafield value.

In the liquid source files, is it possible to return the metafield parameters that were used to populate the collection?

I'd like to use this information to show the correct variant image on the collection page.

I've tried to access to the collection.metafields array in liquid, but it doesn't return anything. Unsure if i'm accessing it correctly.

Replies 0 (0)