How does the price / range filter work? Can it auto-detect min and max?
Published
It doesn’t auto-calculate min and max from the current category – scanning the postmeta table for that on every load is too slow. Instead you configure it: for a slider, add one min and one max; for Amazon-style text-link ranges (which also work better on mobile) add several min/max pairs like €0-€10, €10-€25, €25-€50, €100+; or tick the option to show just two numeric entry boxes and add no ranges. A slider needs a numeric step value or you’ll get a noUiSlider: 'step' is not numeric error. For performance, set the widget’s advanced option to hide the price filter until a category is selected.
Still stuck? Post a screenshot on our Discord.
Further reading
every other known problem and its fix.
setting up and configuring the filters.
Comments