Klevu provides two options for customizing the content for No Result found.
- Using URL Redirect You can create a page with the content that you want to show to the users and then set a redirect to this page when no results are found.
- Changing the message You can change the Please try another search term… text to some other text.
Follow the steps below to customize the content.
- Login into Magento Admin panel
- Go to System → Configuration
- Go to General → Design → HTML Head → Miscellaneous Scripts
- For URL RedirectAdd the following script. Please make sure to provide the correct URL of a page.
For Changing the messageAdd the following script.<script>
// URL Redirect script
var klevu_noResultsFoundUrl = 'url of the page';
</script><script>
//Change message script
var klevu_noRecordsFoundCaption = 'a message to show';
</script> - Click on Save Config
- Clear Magento cache