Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Query

// WP_Query arguments
$args = array(
	'post_type'              => array( 'product' ),
	'post_status'            => array( 'published' ),
	'paged'                  => '$paged',
	'posts_per_page'         => '-1',
	'orderby'                => 'date',
	'tax_query'              => array(
		array(
			'taxonomy'         => 'product_cat',
			'terms'            => 'workshops',
			'field'            => 'slug',
		),
	),
);

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