The XML template for the SearchBox
cartridge is located in <ATG11dir>/CommerceReferenceStore/Store/Storefront/deploy/cartridge_templates/SearchBox/template.xml
. To support the inclusion of auto-suggest functionality in the search box, the XML template has these properties:
autoSuggestEnabled
: A boolean property that specifies whether or not auto-suggest functionality is enabled. If this property is set to false, the other auto-suggest properties are ignored.minAutoSuggestInputLength
: Specifies the number of characters the customer must type before the auto-suggest panel displays. Out of the box, this is set to 3.contentCollection
: The content folder that is used to populate the auto-suggest panel. Out of the box, this is set to/content/Shared/Auto-Suggest Panels
.ruleLimit
: Defines the number of content items to return when populating the auto-suggest panel. This property is set to 1 and cannot be altered in Experience Manager.