For issuing search queries, CRS uses the standard Commerce Search /atg/commerce/search/catalog/QueryFormHandler
and /atg/commerce/search/catalog/QueryRequest
components. The Store.Search.Query
module modifies the configuration of QueryRequest
to add the /atg/commerce/search/RootCategoryConstraint
query constraint. This constraint restricts the search to products under the catalog’s rootNavigationCategory
, so products that are not part of the catalog’s navigational hierarchy (such as Gift Wrap) are not returned.