Convert more holiday shoppers with express checkout and buy now, pay later. Learn more
Product Icon

WooCommerce

Sell online with the flexible, customizable ecommerce platform designed to grow with your business. From your first sale to millions in revenue, Woo is with you. See why merchants trust us to power 4+ million online stores.

Add Native Rolling 30-Day Sales Sorting for Products

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.

Author

Syed

Current Status

Open

Last updated: October 31, 2026

0 comments

Log in to comment on this feature request.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.