Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Can I only add a metafield to a particular set of products???? For example by product type? Lets say, I have a product type of dust collectors that I would like to add a "filter bag" metafield to with a list of values, but I only one it to appear on those dust collectors and not on other products like drills, etc. I appreciate any help.
Hello @MellowMiwi 👋 For the backend admin read the docs , in the admin pinned metafields show for ALL products
https://help.shopify.com/en/manual/custom-data/metafields/pinning-metafield-definitions
The closest workaround is using metaobjects to indirectly have metafields related indirectly to objects such as products but this means they are no longer dynamic sources for the theme editor, or filters for storefront search.
For the frontend to control which filters show for which collections of products this depends on theme, and any apps used, any conventions, or theme customizations etc etc etc
Again see the manual https://help.shopify.com/en/manual/online-store/themes/customizing-themes/storefront-filters?q=store...
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
Yeah if you have just like 2 3 of them you could make different product templates for them. Or just make one different product templates for dust collectors and metafield value to it.
Or you can edit code to look for dust collectors and render the metafield value.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025