WooCommerce Range Slider Filter for Screen Size
A WooCommerce range slider filter helps shoppers narrow numeric product data to a useful interval. In the electronics demo, shoppers can compare screen size without scanning every device. Drag the slider in inches, where a 0.1 step gives precise control over the minimum and maximum.
Try this: Drag the screen-size slider to a narrow range and watch the list shrink.
How this demo is configured
- Create a filter by Screen size (inches) (custom field _mfp_screen_in). Show as Range slider. Slider step: 0.1.
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 screen-size slider filters
The range uses the numeric screen-size field attached to each product. The lower and upper values define an inclusive interval: products must meet the minimum when one is set and stay at or below the maximum when one is set.
The demo labels screen size in inches. Its step is 0.1, so the slider can represent decimal values instead of whole inches only.
When to use a numeric range
Use a range for comparable numeric data such as dimensions, battery life, or price. It lets shoppers express a lower bound, an upper bound, or both. A taxonomy list is a better fit when the choices are named categories rather than measured values.
Before adding the control, make sure the products have numeric values under the same custom field key. Text labels such as “large” need a taxonomy or a separate mapping.
Set up a numeric range slider
- In Filter Sets → Add New, choose Products for Content to filter.
- Add a filter row and choose Custom field (number) under What are you filtering?.
- Enter the exact Custom field key used by your product data, then set a shopper-facing label such as Screen size (inches).
- Choose Range / Slider under How shoppers choose. Keep Show range slider enabled and set Step size (range only) to the precision your values use.