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
<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
<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.
4 responses to “Best-selling products”
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?
The WooCommerce products shortcode should be able to do it.
[products limit="10" columns="5" best_selling="true" category="music" /]
Is it possible to show only product name , not image or not any othere option ?
Is it possible to show only 1 product from category? I need to show products from each category. Thank you.