Re: How to display metafield data on collection page

How to display metafield data on collection page

nickyan7
New Member
7 0 0

Hey, I am trying to show metafield data on the collections page (shown in picture), how would I accomplish this? I am using warehouse 6.0

 

URL: https://z2aliquidation.com/collections/all-products

 

 

 

5c6e27e4bfef5b0571680d61a308fd18.png

 

Reply 1 (1)

PaulNewton
Shopify Partner
7032 629 1481

Hi @nickyan7 👋 if the theme has a setting for content in that area use a dynamic source.

https://help.shopify.com/en/manual/online-store/themes/theme-structure/sections-and-blocks#metafield...

 

Otherwise an advanced theme customization is needed to either add that to the code or create the relevant setting.

Generally in the product-grid section or snippets adding a liquid output {{ product.metafields.namespace.key.value }}

i.e for Dawn https://github.com/Shopify/dawn/blob/main/sections/main-collection-product-grid.liquid

 

 

If you need this customization then contact me by my email for services.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

 

Good Luck.

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