I'm trying to get my head around this but struggling, so any pointers would be most grateful.
I am trying to code a bit of conditional logic into a widget. I only want this to occur when I am on a specific product category page.
I have been playing with the wordpress conditional tags that I thought might work e.g
has_term('mycategory','product_category') but that doesn't seem to do it?
Any one got any ideas?