Best-selling products

For displaying best selling products with WooCommere the [products best_selling="true"] or [best_selling_products] shortcodes can be used. If your WooCommerce version is lower than 3.2 then you can only use the latter since the [products] shortcode did not support the best_selling attribute in the earlier versions.

The appearance of the displayed products depends on your active theme, the following examples are using Chap theme, but the shortcodes work with any theme as long as you’re using WooCommerce.

Displaying WooCommerce best selling products using the products shortcode
Sale!
$15.00 $12.00
Add to cart
$20.00
Add to cart
$35.00
Add to cart
$35.00
Add to cart
<products limit="4" columns="4" best_selling="true" />
Displaying WooCommerce best selling products from a specific category using the products shortcode
<products limit="3" columns="3" best_selling="true" category="music" />
WooCommerce best selling products shortcode
Sale!
$15.00 $12.00
Add to cart
$20.00
Add to cart
$35.00
Add to cart
$35.00
Add to cart
Sale!
$99.00 $82.00
Add to cart
<best_selling_products columns="5" per_page="5" />
Notes
The old best_selling_products shortcode should be used for WooCommerce version 3.1 or lower.

2 responses to “Best-selling products

Aparajita Singh

Is it possible to show the best selling products in a specific category?
For my site, I want to show the best selling products of the t-shirts category. Is there any shortcode helpful for this?

websevendev

The WooCommerce products shortcode should be able to do it.
[products limit="10" columns="5" best_selling="true" category="music" /]

Leave a comment

Your email address will not be published. Required fields are marked *