Numeric Range Layout

204 views April 7, 2017 July 13, 2019 admin 0

Facets layouts: numeric ranges

Numeric ranges are usually used to show prices as a range, rather than as a list. But numeric ranges can also be used for any numeric value: in stock quantities, rating values, dimensions.

The idea is to split a range of potential values in a fixed number of intervals (ranges). You fix the range start, the range end, and the range gap, and the plugin will not only generate the corresponding ranges but also a range before (there can be some rare values lower than the range start) and a range after (there can be some rare values greater than the range end).

Regular range parameters

Regular range parameters

Override individually each range label, including before and after ranges

Override individually each range label, including before and after ranges

  1. Select a regular range, with check boxes or radio boxes.
  2. Set the beginning of the range.
  3. Set the end of the range.
  4. Set the range gap.
  5. Define the general range label as you wish. Use the 3 variables {{start}}, {{end}} and {{count}} to build your own custom label. It will be used for all ranges of this facet.
  6. Define the before and the after range labels with the “Add localized content” button. Use the 3 variables {{start}}, {{end}} and {{count}} to build your own custom labels.
  7. Override any range label with the “Add localized content” button. Use the 3 variables {{start}}, {{end}} and {{count}} to build your own custom labels.

This will generate the range :

Price range with checkboxes generated from parameters and label template

Price range with checkboxes generated from parameters and label template

 

Was this helpful?

Join Our weekly Newsletter

Receive our latest news once a week, each Thursday afternoon.
Your email is kept 100% private, and you will not receive other stuff in your mailbox.

We keep your data private and share your data only with third parties that make this service possible. Read our Privacy Policy.