This is a short tutorial on how to set a featured product in WooCommerce and a shortcode you can use. Sometimes when it’s too easy it is hard to find.
In case you run a WordPress website (and there is a lot of us who does) chances are good you are looking for the best ways to monetize it. There are a few solutions available for you, but the greates one among them is WooCommerce.
WooCommerce is a free, shopping cart plugin with open source that works expressly with WordPress websites. From the time it was found in September 2001, the WooCommerce plugin has been downloaded over 16 million times. Nowadays, WooCommerce runs a staggering 37% of all eCommerce websites. We can be sure that people like it.
In your WordPress dashboard browse to the products header and then to the products category.
On your list of products on the right hand side simply click the star icon to set the product as a featured product. And that’s it! It’s that easy.
Now on a page in WordPress you can insert a shortcode to display the featured products.
[featured_products per_page="4" columns="4" orderby="date" order="desc"]
Here is an example of what the above shortcode looks like.