I need to show a particular widget only under a category and also in it's subcategories as well as in the product page which is under those categories. I'm currently using
is_tax( 'product_cat', 'binoculars')
But it's only showing the widget on the category archives page not the subcategories or the product page that belongs to that product category.
I'm using woocommerce.
I've search everywhere, used the conditional tags ref and cannot find a solution!
PLEASE HELP, Thanks in advance