StarterStore Signup Component
Info: The StarterStore Signup Component requires a standard or premium Bloomreach Content license. Contact Bloomreach for more information.
Overview
The SignupFormComponent is a built-in HstComponent that enables customer registration in Bloomreach Accelerator: B2C Commerce applications.
If a visitor is not yet registered, you can provide a sign-up link. The visitor completes the sign-up form to create a customer account in the commerce backend service.
The SignupFormComponent handles sign-up by calling the commerce backend REST APIs.
Info: Customer data for sign-up and login is stored in the commerce backend, not in the Bloomreach Accelerator: B2C Commerce application.
Component Behavior
Rendering Phase
During the rendering phase, the component's template displays all available fields for the sign-up form, such as customer name, email address, and password.
Action Phase
When a visitor submits the sign-up form, SignupFormComponent performs input validation. If validation fails, the component displays error messages. If validation succeeds, it calls the CRISP API using the configured CommerceConnector and CommerceConnectorComponent models (with the ID "createCustomer"). This process exchanges data with the commerce backend service. For details on configuring the "createCustomer" (or "customerCreate") connector component, see the commerce platform configuration documentation.
If the customer account is created successfully, the component redirects the visitor to the sign-in page.
Component Configuration
The following table summarizes the component and related configuration paths:
| Component class | com.bloomreach.commercedxp.starterstore.components.SignupFormComponent |
| Template configuration | /hst:hst/hst:configurations/starterstoreboot/hst:templates/starterstore-signup |
| Template resource | webfile:/freemarker/hstdefault/starterstore-signup.ftl |
| Page configuration | /hst:hst/hst:configurations/starterstoreboot/hst:pages/signup-contentpage |
| Sitemap Item configuration | /hst:hst/hst:configurations/starterstoreboot/hst:sitemap/signup |