is_product_category()WC 1.0

Is_product_category - Returns true when viewing a product category.

No Hooks.

Return

true|false.

Usage

is_product_category( $term );
$term(string)
The term slug your checking for. Leave blank to return true on any.
Default: ''

is_product_category() code WC 8.7.0

function is_product_category( $term = '' ) {
	return is_tax( 'product_cat', $term );
}