Plugins / Rotating Sales
Rotating Sales for WooCommerce
A fresh selection of products goes on sale on your schedule, with a countdown. When the round ends, the next one starts.
What it does
Set a schedule: every so many days, weeks or months, at a set time in your site's timezone. Each round the plugin picks a random set of eligible products and gives them a real WooCommerce sale price. The next round ends the previous one, so sales never stack.
Because it writes the normal sale price, the deals show up everywhere WooCommerce shows a sale: badges, the on-sale filter, structured data, emails. No template changes.
It never touches regular prices. Every sale gets an end date, so WooCommerce expires it even if the plugin is switched off mid-round.
Who it is for
- Shops that want a deals page that is never stale, without picking deals by hand.
- Large catalogues where most products never get seen. A rotation gives them a turn.
- Shop owners who want a kill switch and a dry run before anything changes.
Screenshots

[rotating_sales] deals page: a countdown bar above a normal WooCommerce product grid.

Features in the free plugin
- Automatic roundsA new round ends the previous one. Your deals stay current without anyone touching them.
- Selection filtersSKU prefixes, include or exclude categories, in stock only, minimum stock, skip products already on sale.
- CooldownProducts from the last round sit out at least one round, so the rotation stays fresh.
- Dry runSee which products would be discounted, and at what price, before anything is written.
- Kill switchOne click removes every sale the plugin created.
- Countdown and deals pageThe
[rotating_sales]shortcode shows the round as a product grid with a countdown. Product pages get a Sale ends in timer. - Percentage badgeOptionally show -15% instead of the theme's Sale! badge on products in the round.
- Variable productsThe discount is applied per variation, from each variation's own regular price.
- Built for large cataloguesOne bounded query picks candidates. No full catalogue walks, no random-order sorts on the database.
- WP-CLI
wp rotating-sales run,clearandclear-orphansfor scripts.
Free and Pro compared
Pro is a separate add-on that needs the free plugin. Its settings appear on the same Rotating Sales screen.
| Feature | Free | Pro |
|---|---|---|
| Scheduled rounds, filters, cooldown, dry run, kill switch | Yes | Yes |
| Deals page shortcode, countdowns, percentage badge | Yes | Yes |
| Cache purge actions and import re-apply hook for developers | Yes | Yes |
| Discount rules: own percentage or exclusion per SKU prefix and title keyword, first match by priority wins | No | Yes |
| Margin guards: a sale-price floor and a minimum regular price | No | Yes |
| YITH Wishlist sourcing: fill part of each round with the most wishlisted or most recently wishlisted products | No | Yes |
| WP All Import: active deals are re-applied after every import, from the current regular price | No | Yes |
| Notifications: ntfy.sh push and/or email summary after every round | No | Yes |
| Price | Free | EUR 49 per site per year |
Developer hooks
Public hooks in the free plugin. Pro is built on the same hooks, so you can extend it the same way.
rsw_reapply_hooksFilter. Add your importer's completion hook so active deals are re-applied after an import. Empty by default.rsw_round_appliedAction. Sale prices were applied or re-applied. Argument: product IDs. Use it to purge page caches.rsw_sales_clearedAction. Sale prices were removed. Argument: product IDs.rsw_round_summaryAction. Fires after a round with its result.rsw_product_pctFilter. The discount percentage for one product. Arguments: percentage, product, settings.rsw_candidate_okFilter. Return false to keep a product out of a round. Arguments: true, product, percentage, settings.rsw_preselected_idsFilter. Product IDs to place in the round before the random pick. Arguments: IDs, settings.rsw_default_settingsFilter. The default settings array.rsw_sanitize_settingsFilter. Sanitised settings on save. Arguments: output, raw input.rsw_settings_sectionAction. Add your own rows to a settings section: selection, discount, timing or end.
Example: add_filter( 'rsw_reapply_hooks', function( $hooks ) { $hooks[] = 'my_import_finished_hook'; return $hooks; } );
Questions
Does it change my prices permanently?
No. It only writes the WooCommerce sale price, always with an end date. Regular prices are never touched. Every sale is recorded, and clearing a round removes the sale price again.
What happens when I deactivate it?
Scheduled rounds stop. Active sales stay until their end date, and WooCommerce expires them by itself. Use the kill switch first if you want them gone now. Uninstalling clears all remaining sales and settings.
Does it work with WP All Import?
The free plugin can re-apply deals after any import, but you connect your importer's hook yourself with rsw_reapply_hooks. Rotating Sales Pro connects WP All Import out of the box.
Why are fewer products discounted than I set?
Only products that pass every check are eligible: published, in stock, a featured image, a regular price, not already on sale, not excluded, and not in the last round. The dry run shows the effect of your filters.
Does it clear my page cache?
It refreshes WooCommerce's own product caches. For page caches it fires rsw_round_applied and rsw_sales_cleared with the product IDs, so your cache plugin can purge the right pages.
Do I need Pro?
Only if you need per-product discount rules, margin guards, wishlist picks, WP All Import without code, or round notifications. Everything else is in the free plugin.
Where do I get help?
Free: the WordPress.org support forum. Pro: email. See Support.
Version 2.0.1, Pro add-on 1.0.1. Requires WordPress 6.2, PHP 7.4 and WooCommerce. Tested up to WordPress 7.1. GPLv2 or later. Pro requires the free plugin.