Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

product category post

// WP_Query arguments
$args = array(
	'post_parent'            => '12,13,14',
	'post_type'              => array( 'product' ),
	'post_status'            => array( 'publish' ),
	'posts_per_page'         => '-1',
);

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