is_product_category don't work
-
Hi, I have customized my woocommerce template.
In a Hook, i put this condition:if ( is_product_category (array( 'sculptures','metope' ))) { echo _e( 'Artist: ', 'woocommerce'); } else { echo _e( 'Designer: ', 'woocommerce'); }
In single product page at sculture and metope categories It return me only “Designer: “.
what wrong?
- The topic ‘is_product_category don't work’ is closed to new replies.