Hey folks. i try to hide fields only on categories from Woocommerce custom post type category = product_cat - with the code below it is not working. i need to hide only fields not meta boxes.
The product id of the Woocommerce product_cat equals 18.
I think something is wrong here, but i can't figure out where. Can you please assist?
In Woocommerce i also have products assigned to different product_cats and i need to hide some of the fields on one but not the other category - is that possible?
I see you're using the syntax for Meta Box Conditional Logic instead of Meta Box Show Hide. This code is created with Meta Box Builder, which only supports Conditional Logic. So to use Show Hide, please modify the syntax to match the rules here.
If you want to use Conditional Logic, please note that the taxonomy value is an array, so you should use in or contains, like this: