what is the action hook code to supporting product category condition in single product page of woocommerce?
Firstly, this conditional returns true on category archives for Woo Commerce and NOT single product page. Try using the actual slug in lowercase or the i.d. Example: if ( is_product_category( ‘t-shirt’ ) ) { Your code looks like its wrong because it includes too many brackets. Woo suggest using the slug in their Docs. This … Read more