Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

product_cat

$tax_query = array(
	array(
		'taxonomy'         => 'product_cat',
		'terms'            => '22',
		'field'            => 'term_id',
	),
);