Script: Class dw.suggest.CustomSuggestions
Class CustomSuggestions
- Object
- dw.suggest.Suggestions
- dw.suggest.CustomSuggestions
- dw.suggest.Suggestions
The custom suggestion container provides access to merchant provided search phrases found using the suggested terms as search criteria.
The method SearchPhraseSuggestions.getSuggestedPhrases() can be used to get the list of found search phrases. The custom phrases lookup is being executed in the current site.
Furthermore the list of suggested terms is accessible through SearchPhraseSuggestions.getSuggestedTerms() method.
Constructor Summary
This class does not have a constructor, so you cannot create it directly.
Method Summary
Methods inherited from class Suggestions
getSearchPhraseSuggestions, getSuggestedPhrases, getSuggestedTerms, hasSuggestedPhrases, hasSuggestedTerms, hasSuggestions
Methods inherited from class Object
assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values