Home > widget-integration > SearchSettings
SearchSettings interface
Search settings from admin configuration.
**Legacy**: Retrieved via getSearchSettings(context) utility **New**: Same data but with full TypeScript interface
Signature:
interface SearchSettings$1
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
boolean |
(Optional) Whether default result is enabled | ||
|
boolean |
(Optional) Whether fuzzy search is enabled | ||
|
boolean |
(Optional) Enable plus character in search queries | ||
|
boolean |
(Optional) Full minimum match | ||
|
boolean |
(Optional) Product availability filter | ||
|
boolean |
(Optional) Reduce minimum match threshold | ||
|
Search box on-click settings | |||
|
boolean |
(Optional) Show variants as separate products | ||
|
string[] |
(Optional) Fields to skip in search results | ||
|
Suggestion blocks configuration | |||
|
number |
(Optional) Did-you-mean suggestion limit | ||
|
number |
Maximum height for suggestion panel | ||
|
"grid" | "list" |
(Optional) Mobile product item type | ||
|
"style1" | "style2" |
(Optional) Mobile suggestion style. No longer returned by the admin API. Can be provided by the Liquid template (e.g. Omitted (or | ||
|
"prod" | "test" |
(Optional) Suggestion mode (prod/test) — controls scoped/narrowing suggestions | ||
|
No result fallback settings | |||
|
"style1" | "style2" | "style3" |
Desktop suggestion style | ||
|
"grid" | "list" |
Product item type for style2 |