Facets

The majority of this section will still be taken into account in a Klevu JS Library implementation, as the logic is applied within the processing of a Klevu API request. The ordering, visibility and custom labels configured via the KC will all be returned by the API.

However the UI option for facet behaviour to select single/multi-select can now be controlled directly within your own JavaScript. Our Hello World tutorial includes an example of specifying single/multi-select on a per facet basis.

As for the KMC option to display the facets on the top or on the left, this will no longer have any effect, but we have included examples on how to implement this depending on your preferred approach: