How to display relevant metafields for each product type?

Hi,

I am developing a shop with thousands of products and various product types. I am able to create product metafields and show them on the website. My issue is that the custom metafields are not appropriate for each product type. Is there a way to only show (in the Shopify admin product entry page) the relevant metafields for each product type? So if I am adding a new t-shirt it only shows metafields applicable to that product type? Any advice greatly appreciated.

Thanks in advance.

1 Like

It’s all or nothing for displaying metafield definitions in the admin through pinning.

This why for data entry such as managing lots of metafield data it can be preferable to use a dedicated metafield app.

Or ETL apps such as ones for import/export of CSV or excel files that let you manipulate metafields by making workflows with spreadsheets.

1 Like

Hey there,

As Paul mentioned, this doesn’t appear to be possible in the Shopify Admin.

If you have a lot of product types and lots of metafields that vary by product type, one thing that might be worth considering is to maybe use a JSON metafield type for those attributes that won’t apply to all products.

So for example, you can pin the metafield definitions that apply to all products and then a single JSON metafield to store the other attributes that only apply to certain products.

1 Like