This article covers a Bloomreach Experience Manager version 13. There's an updated version available that covers our most recent release.

Bloomreach Accelerator: B2C Commerce 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 Bloomreach Accelerator: B2C Commerce 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 Bloomreach Accelerator: B2C Commerce 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?