No results found

The options in the KMC for displaying ‘no results found’ in search results will not have any effect in a Klevu JS Library implementation. Instead you have complete control over what a customer should see within your own JS and HTML.

Should you wish to respect the no results found messaging and banners configured within the KMC, a static JS file is updated containing this information should you wish to consume it, via the following URL: https://js.klevu.com/klevu-js-v1/klevu-js-api/{JS_API_KEY}.js, for example:

The relevant information can be found within noResultsOptions.

Our Hello World tutorial includes an example of a basic no results found implementation, which you can enrich with trending products, popular search terms, etc. as per your own requirements.