Method 2: Using WooCommerce Shortcodes to Add Popular Products to Product Pages
WooCommerce has built-in shortcodes you can use to customize your product pages and other areas of your online store.
These shortcodes make it super easy to display your popular products on your existing WooCommerce product pages.
To do this go to Products » All Products, then open up the product you want to customize.
In the product editor screen, you’re going to add the following shortcode.
You can use the following MonsterInsights shortcode to automatically display your popular products:
MonsterInsights will automatically update the list as popular products change.
Alternatively, you can manually choose which products to show using a built-in WooCommerce shortcode:
[products limit="3" columns="3" skus="logo-collection, Woo-tshirt-logo, woo-long-sleeve-tee"]
The shortcode above will create a row of three products. You can increase the ‘product limit’ and ‘columns’ to list more popular products on your page.
The ‘skus’ refer to the product SKUs you’ll find on your WooCommerce products page.
Be sure you replace the SKUS in the shortcode above with your own most popular products.
You can find your product SKUs by going back to Products » All Products.
Once you’re finished editing your product page click ‘Update’.
Now your visitors will see your regular product listing and your most popular products highlighted below.
If you’re looking for more ways to boost sales, then you can create a WooCommerce popup or add a free shipping bar in WooCommerce.
We hope this article has helped you learn how to display popular products on WooCommerce product pages.
Leave A Comment