The view models (JavaScript files) and HTML renderers for the Account plugin module’s UI components are defined in the CommerceAccelerator/Plugins/Account/src/main/web-app directory. Templates for associated cartridges are located in CommerceAccelerator/Plugins/Account/src/main/deploy/import/templates. Note that not all UI components have associated cartridges; those that do not are marked N/A in the Cartridge Type column of the table below.

UI Component

Description

Cartridge Type

AccountChangePassword

Allows an authenticated user to change her password. Shoppers are required to provide their old password and confirm their new one. If the old password is not correct or confirmation of the new password fails then the entire change password operation fails.

MainContent

AccountCheckoutDefaults

Allows a shopper to set the default shipping method, default shipping address, and default payment method used during checkout. The default shipping address and default payment methods must have been previously saved to the shopper’s profile. New credit cards and addresses can be added to the shopper’s profile so they can be selected. The default shipping method is selected from a set list of shipping methods offered by the site.

MainContent

AccountMenu

Displays a list of profile-related menu options in the header. The options that are displayed are different for anonymous users versus logged in users. Once logged in, the shopper can access his Address Book, Payment Information, Order History, and Checkout Defaults, and also change his password.

HeaderAction

AccountMenuNavigation

Displays a list of profile-related menu options in the secondary content area, for example, Personal Information, Order History, Address Book and so on. The options that are displayed are different for anonymous users versus logged in users. This cartridge also allows a shopper to log out.

SecondaryContent

AccountOrderDetail

Renders details about an order placed by a customer, including the shipping and billing information as well as the price and the items purchased.

MainContent

AccountOrderHistory

Displays a simple summary view of all of the past orders associated with the current profile. The summary view displays the order number, the site on which the order was placed, the date the order was placed, the number of items in the order, and the current status of the order. By clicking an order number, the shopper can navigate to the Order Details page.

MainContent

AccountPersonalInformation

Allows customers to modify their profile, including email address (which is also the login), first and last names, postal code, gender, and birthday.

MainContent

AddAddress

Allows a customer to add an address to the list of addresses associated with her profile. The address is saved in the secondaryAddresses property on the profile.

MainContent

AddCreditCard

Allows a customer to add a credit card to the list of credit cards associated with his profile. The card is saved in the creditCards property on the profile.

MainContent

EditAddress

Allows a customer to edit a previously saved address in the address book and specify the default address associated with her profile.

MainContent

EditCreditCard

Allows a customer to edit a previously saved credit card in the list of credit cards and specify the default credit card associated with his profile.

MainContent

ForgotPassword

Allows a shopper to request a password reset. The ForgotPassword UI component is rendered as part of the login page (CommerceAccelerator/Plugins/Account/src/main/web-app/login.js).

N/A

Login

The Login cartridge serves multiple purposes. It allows an anonymous customer to become an authenticated customer by logging in and it serves as the first step in registering a new account.

MainContent

RegisterUser

Allows an unregistered customer to register an account on the site. When registering, a shopper is only required to supply a minimal amount of information because the rest of the shopper’s information is handled by other cartridges.

MainContent

ViewAddressBook

Allows a customer to view and delete addresses associated with her profile.

MainContent

ViewPaymentInformation

Allows a customer to view and delete credit cards associated with his profile.

MainContent


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices