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 13–24 of 36 results
-
Sale
Add to cart
JBL Tune 770NC
Original price was: $129.00.$99.00Current price is: $99.00. -
Add to cart
Microsoft Surface Pro 11
$1,199.00 -
Add to cart
Lenovo Tab P12
$349.00 -
Sale
Add to cart
Sony WH-1000XM5
Original price was: $399.00.$329.00Current price is: $329.00. -
Add to cart
Bose QuietComfort Ultra
$429.00 -
Add to cart
OnePlus 12
$799.00 -
Add to cart
Nothing Phone (2a)
$349.00 -
Add to cart
iPad Air 11" (M2)
$599.00 -
Add to cart
iPad Pro 13" (M4)
$1,299.00 -
Sale
Read more
Samsung Galaxy Tab S9
Original price was: $799.00.$649.00Current price is: $649.00. -
Add to cart
iPhone 15 Pro Max
$1,199.00 -
Sale
Read more
Samsung Galaxy S24
Original price was: $799.00.$699.00Current price is: $699.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.