The AutoSuggestPanel
cartridge renders the drop-down panel that appears in the search box and displays auto-suggest items. In order for this cartridge to be rendered, the autoSuggestEnabled
property in the SearchBox
cartridge must be set to true
. Note that the AutoSuggestPanel
cartridge renders the panel only and it relies on other cartridges for the actual auto-suggestions provided to the shopper.
The XML template for the AutoSuggestPanel
cartridge is located in <ATG11dir>/CommerceReferenceStore/Store/Storefront/deploy/cartridge_templates/AutoSuggestPanel/template.xml
. This XML template has an autoSuggest
section that takes items of type AutoSuggest
. Commerce Reference Store has one cartridge of type AutoSuggest
, the DimensionSearchAutoSuggestItem
cartridge. It is the DimensionSearchAutoSuggestItem
cartridge that contains the actual auto-suggestions provided to the shopper. For more details on this cartridge, see DimensionSearchAutoSuggestItem.
Note that the AutoSuggestPanel
cartridge does not have its own renderer in Commerce Reference Store. Instead, it is rendered through a custom Dojo widget that is implemented as part of the SearchBox.jsp
renderer. See SearchBox for more details.