Please tell me where I am going wrong . Product featured image is not showing up.
$args = array( \'post_type\' => \'product\', \'posts_per_page\' => 80,
get_the_post_thumbnail function returns html not url of featured image. You should use get_post_thumbnail_id to get post id of featured image and then use wp_get_attachment_image_src to get url of featured image.
Try this:
'product', 'posts_per_page' => 80, 'product_cat' => 'profiler', 'orderby' => 'rand' );
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
post->ID)); ?>
get_price_html(); ?>