WooCommerce On-Sale Product Filter
A WooCommerce on-sale product filter helps shoppers find products WooCommerce currently identifies as on sale. In this electronics demo, select On sale to narrow the list to sale items. Pair it with Price Range when shoppers also need a budget.
Try this: Tick On sale to show only discounted electronics.
How this demo is configured
- Create a filter by On sale (custom field _sale_price, shown when present). Show as Checkboxes.
Showing 1–12 of 36 results
-
Add to cart
Dell UltraSharp U2723QE
$579.00 -
Sale
Add to cart
LG UltraFine 27UP85
Original price was: $449.00.$379.00Current price is: $379.00. -
Add to cart
Samsung Odyssey G7 28"
$699.00 -
Read more
ASUS ProArt PA279CRV
$469.00 -
Read more
Apple Watch Series 9 (45mm)
$429.00 -
Add to cart
Apple Watch Ultra 2
$799.00 -
Sale
Add to cart
Samsung Galaxy Watch 6 Classic
Original price was: $399.00.$329.00Current price is: $329.00. -
Add to cart
Garmin Forerunner 265
$449.00 -
Add to cart
Google Pixel Watch 2
$349.00 -
Sale
Read more
Apple AirPods Pro (2nd gen)
Original price was: $249.00.$199.00Current price is: $199.00. -
Add to cart
Sennheiser Momentum 4
$349.00 -
Add to cart
Sony WF-1000XM5
$299.00
What the On sale filter checks
The demo uses an existence-style filter for the sale field and delegates matching to WooCommerce sale-product IDs. When selected, it narrows the result set to the products WooCommerce reports as on sale.
That is different from checking whether a shopper-entered maximum is below a regular price. A sale filter uses sale status; a price range uses numeric prices.
When to add an on-sale facet
Use this option when shoppers ask to see sale products without setting a specific price band. It can sit alongside category, brand, price, or rating choices in a product Filter Set.
Keep product sale prices and dates current so WooCommerce lists the right items as on sale.
Add an On sale product filter
- Open Filter Sets → Add New and choose Products for Content to filter.
- Under Filters, use the On sale quick template if available, or add a row with a shopper-facing label and unique URL keyword.
- For a manual row, choose Custom field exists for What are you filtering? and set Custom field key to
_sale_price. - Set How shoppers choose to Checklist (multi-select), save the set, and test the On sale option on a product archive.