The catalog
JavaScript module, located at CommerceAccelerator/Base/src/main/web-app/catalog.js
, is a domain model that stores the properties of the current product or currently selected SKU for access by the other JavaScript modules.
The SearchAndNavigation
plugin includes the catalog-services
JavaScript module for invoking REST services and communicating with the server through XHR requests. The plugin uses the catalog-services
module to retrieve product and SKU details from the catalog
domain model in order to render the product detail page. The catalog-services
module can be found in CommerceAccelerator/Plugins/SearchAndNavigation/src/main/web-app
.