Composable Account Selector

A new set of fragments has been introduced under a dedicated category called “Account Selector.”.

These fragments allow to compose and customize the account selector according to their specific business needs.

Here is a list of the newly added fragments for building the account selector:

  • Account Selector: this fragment is the main orchestrator of the entire component, handles the communication with external components, the dropdown mechanism and the panels (up to 5 can be configured), and manages the main drop zone areas

  • Account Selector Button: OOTB available Account Selector call-to-action

    (preserves the current logic for page/component refreshes), used to open/close the account selector (any custom button hooked up with the Javascript business logic can be used).

  • Account Selector Panel: this fragment can be drag-and-dropped inside the Account Selector’s panel drop zone (each panel is a tab that can be navigated in the dropdown) and creates a drop zone to place account-related views

  • Accounts Data Set: Data Set fragment to display the list of selectable accounts for the current user

  • Create Account Button: configurable call-to-action that allows the creation of new accounts, maintaining the existing Account Selector flow.

  • Account Orders Data Set: Data Set fragment to display the list of selectable orders for the current account

  • Create Order Button: configurable call-to-action that allows the creation of new orders, maintaining the existing Account Selector flow.

A fully configured Account Selector is also available out-of-the-box (OOTB) in the Commerce Classic Site Initializer (LPD-20379).

Key Benefits:

  • Flexible Customization: Easily tailor the account selector to match your site’s structure and user needs.
  • Improved User Experience: Enables intuitive navigation and personalization of account-related views.
  • Configurable Control: Enable or disable specific features and interactions without custom development.

Status: Release Flag (opt-in)

Features