The toggle widget lets the user either:
- switch between two values for a single facetted attribute (
free_shipping / not_free_shipping)
- toggle a faceted value on and off (only
This widget is particularly useful if you have a boolean value in the records.
||Name of the attribute for faceting (eg. “free_shipping”)|
||Human-readable name of the filter (eg. “Free Shipping”)|
||Value to filter on when unchecked. element (when using the default template). By default when switching to off, no refinement will be asked. So you will get both true and false results. If you set the off value to false then you will get only objects having false has a value for the selected attribute|