Important
You are browsing documentation for version 5.1 of OroCommerce, supported until March 2026. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
Configure Search Terms Settings per Website
Hint
Read Search Functions Concept Guide to get a general understanding of the search functionality in OroCommerce.
Note
You can configure search history globally, per organization, customer group, or customer, and empty search results page globally, per organization, and website.
To configure the search history settings per website:
Navigate to System > Websites in the main menu.
For the necessary website, hover over the more actions menu to the right of the necessary website and click to start editing the configuration.
Select Commerce > Search > Search Terms in the menu to the left.
Note
For faster navigation between the configuration menu sections, use Quick Search.
In the Search History section, clear the Use Organization check box to configure the following search history reporting options:
Enable Search History Reporting — enables the Search History feature globally to track your customers’ search activity in the storefront. The option also enables the a Search Terms report that collects statistics on how many times a particular search term was used, the number of times that search term returned products, and the number of times it returned an empty result. When Enable Search History Reporting is disabled, the feature is removed from the main menu and grids, along with the Search Terms report.
Enable Search History Collection — depends on the Enable Search History Reporting option above. When Enable Search History Collection is enabled, all search queries are logged into the database. This option allows enabling/disabling certain groups of visitors. For example, you can choose not to log requests from anonymous users by turning off this option at customer group level for Anonymous customers. Exercise care when enabling this option on popular websites as it may result in a large number of records saved to the database.
In the Special Pages section, clear the Use Organization check box to configure the empty search results page:
Empty Search Result Page — You can configure an Empty Search Results Page, if the product search produced an empty result and there is no custom page configured for that specific combination of a search term and additional search criteria. The web-node selected for this configuration option should be available for all users and cannot have restrictions.
Note
This option is available starting from OroCommerce version 6.0.2.
Click Save Settings.
Related Topics