i want to show image only products in woocommerce.
My fetch query is given below
$args = array( 'post_type' => 'product', 'stock' => 1, 'posts_per_page' => 9, 'orderby' =>'date','orderby' => 'rand' );
$loop = new WP_Query( $args );
how can i get the image products only?
Are you looking for something like this ?
UPDATED
Change arg to get product if it has feature image.