A space to discuss online store customization, theme development, and Liquid templating.
Hello,
I'm having some issues with metafields.
I have three different collections of products. I've added metafield named 'product weight' in the settings menu. The problem is that I only need to display it for the products in the first collection, other two collections do not need it. Is there a way to select metafields for specific products only and disable it for other products? Because now metafield is global and applies to all store products.
Thanks
Hi @iwritecodesomet,
You can add and delete the metafield code. With your issue, you can achieve it in several ways.
First Option:
You can add another metafield and set it to true or false for each product
Second Option:
You can create a collection template and assign the metafield to should, but not on default template.
Hello.
Could someone please explain how one does this?
Don't know if you are still looking for an answer. But here is what I've done. when I ran into a similar situation