How can I display metafields based on product type or category?

Hello, I’m using metafields for more product properties which I’m using in my filters. I’m also showing my metafield on my product page. The issue is that I want to show the metafields based on product type or category and not show all metafields with every product. I’m using the Debutify theme.

For example: with a Paint product I want to show the location (inside or outside) and with a Paint bucket the size.

Any tips?

You could have a metafield with boolean values(true or false) and if its true you show the location and whatnot.