I would like WooCommerce to introduce a native product sorting option based on rolling 30-day sales.
Currently, WooCommerce’s default “Sort by Popularity” uses the lifetime `total_sales` value. This means products that sold well years ago can continue appearing at the top, even when other products are selling much better recently.
I would like merchants to have the option to sort products by the actual number of units sold during the last 30 days.
**Requested functionality:**
– Add a native “Best Selling – Last 30 Days” sorting option.
– Calculate sales using a rolling 30-day period.
– Automatically update rankings as new orders are placed and older orders fall outside the 30-day period.
– Count actual quantities sold, not just the number of orders.
– Account for cancelled, failed and refunded orders.
– Support variable products and their variations.
– Work with the standard WooCommerce shop page, product categories and existing sorting dropdown.
– Use background calculations to avoid increasing server CPU usage on every storefront visit.
This feature would help merchants display currently popular products instead of relying only on lifetime sales.
Please consider adding rolling-period popularity sorting as a built-in WooCommerce feature.
Thank you.
Last updated: October 31, 2026
0 comments
Log in to comment on this feature request.