Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

WooCommerce product featured 2

// WP_Query arguments
$args = array(
	'post_type'              => array( 'product' ),
	'nopaging'               => true,
	'posts_per_page'         => '3',
	'order'                  => 'DESC',
);

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