Triggers in search rules
The Customer Submits Search trigger is always used when creating search rules using the Search Rule Builder. This trigger indicates that a customer has entered and submitted search terms in the storefront.
The following table describes the Customer Submits Search trigger. Click the trigger to get details and an example.
Trigger What triggers the rule to start or continue A customer searches for something in the store. All search rules start with the Customer Submits Search trigger.
Phrases (multiple term support)
The following scenarios are supported by default for multiple phrases as search terms:
- Search rules containing the starts with, ends with, or contains matching rules do not support phrases. To enable phrase support for these operators, we must customize WebSphere Commerce search to meet your business requirements.
- Search rule triggers containing phrases (multiple words space delimited not surrounded with quotation marks) are treated as exact matches. Do not include quotation marks for exact matches in triggers.
- Trigger: Customer Submits Search
Use this trigger in a search rule to begin or continue the rule when a customer performs a search in the storefront. This trigger enables the action building blocks used in search rules to influence search results in the storefront, such as specifying the top search results or changing the search results order.
Related concepts
Trigger: Customer Submits Search