Customize store pages
Customize the store's pages by completing the following tasks.
- Customizing storefront pages
Customize storefront JavaServer Page files (JSP files) and the Spring MVC views that invoke them to modify how store pages are generated and returned to users of the store. Make additions or modifications to existing JSP files, or add new JSP files to extend the functionality of the storefront.- Customizing an existing widget
Customize a provided widget to modify its behavior for use on the storefront.- Overriding a resource bundle
Override a provided resource bundle to modify the text displayed on the storefront widgets.- Loading categories in the catalog browsing menu
We can override the behavior for loading the catalog browsing menu on individual store pages to control the display of the menu and improve the performance of loading store pages. By configuring the behavior for the catalog browsing menu, we can configure whether a store page loads only the top-level category in the catalog browsing menu when the page loads or loads all categories in the menu. The catalog browsing menu is a pop-up menu that includes a list of departments and categories.- Enable image-based facets for the B2B Hardware category
After you publish the Aurora sample store as a B2B store, we can enable certain facets for products in the Fasteners and Lighting categories. These facets, such asHead stylefor screws andBulb shapefor lighting products, have associated images to help buyers find the right product quickly. The enablement steps involve selecting the descriptive attributes to display as facets in the Catalogs tool in Management Center and then previewing the results.- Adding and changing messages in the Aurora store
We can add new messages or change existing messages in sample store pages by modifying the file containing the store strings.- Enable the progress bar in new Aurora sample store pages
The progress bar is displayed when an AJAX request is triggered and removed when the request completes. It serves as a confirmation indicator on the page, where additional actions can still be performed by the customer. That is, it does not impede the customer from performing additional actions on the page.- Currency formatting in the Aurora sample store
The Aurora sample store uses the JavaServer Pages Standard Tag Library (JSTL) API to format the currencies that are displayed on store pages.