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.
Filters
Screen size (inches)
Screen size (inches)
—

Showing 25–36 of 36 results

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

  1. In Filter Sets → Add New, choose Products for Content to filter.
  2. Add a filter row and choose Custom field (number) under What are you filtering?.
  3. Enter the exact Custom field key used by your product data, then set a shopper-facing label such as Screen size (inches).
  4. Choose Range / Slider under How shoppers choose. Keep Show range slider enabled and set Step size (range only) to the precision your values use.

Frequently asked questions

Can shoppers set only a minimum or maximum?

Yes. A numeric range can use either bound or both. The demo slider lets you adjust the interval.

What precision does this screen-size filter use?

The demo sets a 0.1 step for screen size measured in inches.