Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Transducers query

// WP_Query arguments
$args = array(
	'post_type'              => array( 'product' ),
	'tax_query'              => array(
		array(
			'taxonomy'         => 'product_cat',
			'terms'            => 'omponent-dropdowns',
			'field'            => 'slug',
			'operator'         => 'IN',
		),
	),
);

// The Query
$my_query = new WP_Query( $args );