Configuration page for dynamic kits
When a customer clicks the Configure button on
a dynamic kit page or a predefined dynamic kit page, the Configuration page
is displayed. The Configuration page calls Sterling
Configurator to enable customers to configure, or reconfigure the
kit by choosing specific components. The Configuration page
is implemented as an iFrame. The JSP files are stored on the Sterling
Configurator server.
Elements of the Configuration page for dynamic kits
Links and buttons
- Clear
- Sets the components back to the default selections. If there are no default selections, sets the components to the None option, if available, or clears the component selections.
- Update
- Refreshes the page after the customer selects components.
- Summary
- Displays a table that lists each of the selected components, the unit price for each, and the total price of the kit.
- Add to Cart
- Adds the kit with the selected components to the shopping cart.
- Reset
- Resets the selection for the component class back to the default. If there is no default selection, all selections are cleared. Button is not available when the component class has a None option.
JSP files
The following JSP files display the Configuration page that is used in the storefront. These JSP files are stored on the Sterling Configurator server.- The configurator/commerceConfigurator.jsp file is the top-level JSP file for the Configuration page.
- The configurator/commerceTransient.jsp file transmits information about the dynamic kit to the WebSphere Commerce order service when the customer clicks Add to Cart.