Starter Store Account Component - BloomReach Experience - Open Source CMS

Starter Store Account Component

This Bloomreach Experience Manager feature requires a standard or premium license. Please contact BloomReach for more information.

Synopsis

AccountFormComponent is a built-in HstComponent to manage the customer's account in Starter Store applications.

Given a visitor is authenticated, an account management link can be provided for the customer.

AccountFormComponent processes the account management requests by invoking the commerce backend REST APIs.

Component Overview

Rendering phase

In rendering phase, its template is supposed to display input fields for the visitor's login form, such as e-mail address and password.

Action phase

On account management form's submission, AccountFormComponent first validates the inputs, displaying errors if validation fails; or it invokes CRISP API with the corresponding CommerceConnector and CommerceConnectorComponent (id: "updateCustomer") models, which ends up exchanging data with the commerce backend service to update the customer account data. For details on the "updateCustomer" connector component configuration, please have a look at the different commerce platform configuration pages supported in Starter Store Boot.

Component Details

Below are the details of the component and the related configurations.

 Component class   com.bloomreach.commercedxp.starterstore.components.AccountFormComponent
 Template configuration  /hst:hst/hst:configurations/starterstoreboot/hst:templates/starterstore-account
 Template resource  webfile:/freemarker/hstdefault/starterstore-account.ftl
 Page configuration  /hst:hst/hst:configurations/starterstoreboot/hst:pages/account-contentpage
 Sitemap Item configuration  /hst:hst/hst:configurations/starterstoreboot/hst:sitemap/account

 

 

Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?