I'm using add-ons plugin in WooCommerce for Wordpress.
https://woocommerce.com/products/product-add-ons/
This allows me to create add-ons for all products. However, I would like to exclude a specific add-on from a few specific categories. I cannot create an "exclude list of categories" in WooCommerce admin, so I'm thinking it needs to be done in my child themes functions.php file.
I don't have much experience with WooCommerce, so I would greatly appreciate any help or pointers in the right direction.
Thanks.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…