- 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 your storefront.
- Customizing an existing widget
Customize a provided widget to modify its behavior for use on your storefront.
- Overriding a resource bundle
Override a provided resource bundle to modify the text that is displayed on your storefront widgets.
- Loading categories in the catalog browsing menu
You 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, you 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.
- Enabling image-based facets for the B2B Hardware category
After you publish the Aurora sample store as a B2B store, you can enable certain facets for products in the Fasteners and Lighting categories. These facets, such as Head style
for screws and Bulb shape
for 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
You can add new messages or change existing messages in sample store pages by modifying the file that contains the store strings.
- Changing static HTML sample store files
You can use the static HTML store to accelerate your web design cycle. When web designers use the static HTML store as a starting point, the cost of building user interface within the JSP files is reduced. You can modify the HTML and CSS files using your favorite web design tools and without a development environment. The changes can be incorporated into the corresponding JSP files by a store developer at a more convenient time.
- Applying HTML changes to JSP files
After a web designer changes the static HTML files, a store developer can determine the JSP files that dynamically render the different areas on specific pages in a storefront. The highlight feature, one of the tools that are provided with the assets, is used to identify the JSP files that make up the page you are on. It marks off each area of the page that a JSP file represents and shows the file name in the upper left corner.
- Adding extension logic to all store pages
You can configure the Aurora starter store to include custom extension logic, such as self contained JSP on all store pages. By using this configuration, you can easily embed common code on all store pages, or embed code for tracking the browsing history of shoppers.
- Enabling subscription support in the order component
In order to enable subscription support in the order component, the order configuration file must be updated.
- Enabling and configuring site search statistics
You can gather data for the site into search statistics reports so that you can view and analyze them in the Management Center.
- Customizing web store labels and messages
The static HTML store shows the labels and messages. Use the static HTML store to find the properties files that are needed to customize the labels and messages in your live store.
- Aurora starter store directory structure
Store files are organized by default in a defined directory structure.
- Catalog image requirements for the Aurora starter store
For each catalog entry (product, SKU, bundle, and kit), the Aurora starter store displays images in various sizes in different locations.
- Dynamic caching in the Aurora starter store
In the Aurora starter store, dynamic caching is enabled by default. Dynamic caching reduces the server load because significant segments of the page, such as store widgets, do not have to be retrieved from the server on every new page display.
- Commonly used JSTL variables in starter store pages
The file is a configuration file that is commonly included in starter store pages. The variables declared within this file can be modified to change the appearances and behaviors of storefront components.
- Best practices: Coding JSP pages to use the Storefront Test Automation Engine
The HCL Commerce test automation framework is designed to help you effectively and efficiently test your store before deployment. To fully leverage the test automation framework, it is recommended that you edit your JavaServer Pages (JSP) to include the following best practices.
- Enabling 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.
- Enabling the account activation by email function in the Aurora starter store
You can enable account activation so that customers must click an activation URL before they become registered in the Aurora starter store.
- Disabling the account activation by email function in the Aurora starter store
You can disable the account activation by email function if the function is enabled.
- Shortening the context root of a migrated local store URL
When you migrate your store from a previous version of HCL Commerce to version 9.0, your store runs on the transaction server (trs-app
) and is often referred to as a local store. In addition to running on the transaction server, your local store also uses the transaction web server (trs-web
). If you are using a local store, you can shorten the context root of your store's URL to make it easier for shoppers to remember a link. Shorting the context root also improves visibility in search engine results.
- Uploading requisition lists
You can create a requisition list in a text or spreadsheet editor and upload the requisition list to the store. A requisition list is a reusable list of items (SKUs) that you can use to create orders. Requisition lists are supported when the Aurora starter store is published as a B2B store.
- Enabling a Subscribe link for an e-Marketing Spot feed in the Aurora starter store
The Aurora starter store includes a feature that allows customers to subscribe to e-Marketing Spot feeds for catalog entry recommendations. To familiarize yourself with the Aurora implementation, you can enable and test the Subscribe link for an e-Marketing Spot on the Department page. Then, consider a similar implementation for your own store.
- Enabling a Subscribe link for a wish list feed in the Aurora starter store
The Aurora starter store includes a feature that allows shoppers to subscribe to wish list feeds. To familiarize yourself with the Aurora implementation, you can enable and test the Subscribe link for the wish list. Then, consider a similar implementation for your own store.
- Updating the Aurora starter store for key splitting
The key splitting feature might potentially expose some JavaScript coding issues in the store JSP pages. JSP pages that passed or initialized JSTL variables of object's primary keys (or identifiers) into JavaScript variables as integers might be subject to unexpected behavior in the storefront.
- Enabling the Cancel button for orders on the Order Details page
If you want to allow shoppers to cancel orders, you can enable the Cancel button on the Order Details page for the Aurora starter store. The enablement steps involve installing interim fixes that contain code that is required for the Cancel button to function and defining modification rules for order statuses in Sterling Order Management.
- 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.
- Methods for retrieving configuration parameters from the STORECONF table
You can use the StoreConfigurationRegistry to access store configuration values in the STORECONF database table from either Java™ code or JSP files.
- Developing Commerce Composer assets
Enrich the capabilities of the Commerce Composer tool by developing your own widgets and templates, and extending other features and functions to suit your business needs.
- Responsive Web Design (RWD)
Responsive Web Design (RWD) is a web design approach that is aimed at crafting pages that are optimized for a wide range of devices. It advocates the use of primarily fluid layouts and media queries to optimize a site for different devices, instead of designing a separate site for each device.