The popular products shortcode allows you to do the following:
Display any number of popular products (based on the number of quantity sold) from your available products.
How to Display Your Popular Products.
You can use the eStore and the Extra Shortcodes add-on to display popular products easily. You just need to follow the steps outlined below.
Step 1: You will need to have the eStore and the Extra Shortcodes add-on installed on your site.
Step 2: Create a page where you want to display the list of popular products. You can also use an existing page or widget.
Step 3: Place the below shortcode where you want your popular products to be displayed.
[wp_eStore_popular_products number=1 style=1 type=1]
Parameters you can modify in this shortcode.
• Number of products (number) This is how many products you want to be displayed using the shortcode. Example: If you set this number to 5 the shortcode will display the 5 most popular products.
• Style (style) This allows you to use different fancy displays to show your products. You can see a full list of the fancy display templates here.
• Button type (type) This allows you to specify what type of button you want to use. Example: Buy Now, Add to Cart, Subscription or Download Now.