Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Product Category

$prod_type_query = array(
	'relation' => 'AND',
	array(
		'taxonomy'         => 'product_cat',
		'terms'            => 'razor',
		'field'            => 'slug',
	),
	array(
		'taxonomy'         => 'product_cat',
		'terms'            => 'brush',
		'field'            => 'slug',
	),
);