In the initial step we see how to set the featured products in woo-commerce.
Featured Products is the best way to promote specific and main products in your website.We can easily setup featured products in woo-commerce.
You can easily setup the featured product by a widget, shortcode and also by custom code.
Adding a Featured Product
To show the featured product go to Products in left side of navigation in the wp-login Panel.

There is another way to setup the featured products in woo-commerce. Go to products and click the option Quick Edit and there is checkbox of name Featured and click to update button to show featured products.

There is another option to show the featured product in woo-commerce. If you want to show the multiple product as featured product.Follow the below steps:-
Step-1: Go to product
Step-2: Check all of the products you would like to feature.
Step-3: Go to Bulk Actions click edit and Apply.
Step-4: That action will open up the editor pictured below and Select ‘Yes’ from the featured drop-down menu and then click the blue update button.

Displaying Featured Products
You can display the featured products BY:
- Shortcode
- Custom code
Woo-commerce have variety of useful shortcode which we can use in pages or posts.
you can show the featured products by:
[featured_products per_page=”8″ columns=”4″ orderby=”date” order=”desc”]
Looping code which you can use in the file to show the featured products.
<?php
$args = array(
'post_type' => 'product',
'order' => 'desc',
'post__in' => wc_get_featured_product_ids(),
);
$loop = new WP_Query( $args );
while ( $loop->have_posts() ) : $loop->the_post(); global $product; ?>
<?php if ( has_post_thumbnail( $loop->post->ID ) ){ ?>
<a href="<?=the_permalink()?>"><?php echo get_the_post_thumbnail( $loop->post->ID, 'shop_catalog' ); ?></a>
<?php }else{ ?>
<img src="<?=woocommerce_placeholder_img_src()?>" alt="Placeholder" />
<?php }
$term_list = wp_get_post_terms($loop->post->ID, 'product_cat', array('fields' => 'names'));
echo '<div class="tag-line">'.$term_list[0].'</div>';
?>
<a href="<?=the_permalink()?>"><?=the_title()?></a>
<?=$product->get_sku()?>
Price : <?php echo $product->get_price_html(); ?>
<?php woocommerce_template_loop_add_to_cart( $loop->post, $product ); ?>
<?php
endwhile;
wp_reset_query();
?>
Conclusion: We Understand How to Set and Get Featured Products in Woo-Commerce