Suggestion Generator Rules
In order to create meaningful suggestions based on the product data, suggestion generator rules enable automatic generation from very simple rules.
A suggestion generator rule contains a list of product fields, which is then used to generate suggestions. For example: Color, CategoryName will generate suggestions for all combinations of color and category in the product data.
Example
The suggestion generator rule "Color, CategoryName" will generate suggestions like so:
- White jacket
- White shoes
- Blue jacket
- Blue shoes
- etc.
If a product has multiple categories, it will generate a suggestion for each combination.
Example
A product with the category hierarchy "Workwear" -> "Safety equipment" will generate a suggestion for both "Workwear" and "Safety equipment". If it also has multiple sizes it will create all combinations.
- Workwear XL
- Workwear L
- Workwear M
- Safety equipment XL
- Safety equipment L
- Safety equipment M
Suggestion generator rules are part of the publication flow, which means that any changes made to the rules, including deleting a rule, must be published before they take effect. Suggestion candidates are generated from the published rules after each publication, and again when the product data has changed, which is checked every 15 minutes. This means that rules that are already set up generate new suggestions when new products are ingested, and that suggestion candidates for combinations that no longer occur in the product data are removed.
When the deletion of a rule is published, all suggestion candidates generated by that rule are deleted, and so are the suggestions that were based only on those candidates. A suggestion is kept if another suggestion candidate has the same text, for example a manually created or ingested suggestion candidate, or a candidate generated by another rule. Rules with the same fields in the same order share their suggestion candidates, so deleting one of them does not delete any suggestion candidates while the other rule remains.
Note
It is only possible to use fields that are searchable as rule fields. Futhermore, **AlternativeSearchWords**, **LongDescription** and **ShortDescription** cannot be used to generate suggestions, even if they are searchable.