The Mini Account is a client-side component written in React which renders the sign-in form and account menu options.
This AEM component only renders a container div
for the React component.
All configurations, either of the component or it's content policy are made available as data attributes to this host element:
data-show-wish-list
- will be set if the favourites list is enabled.
- Allows enabling or disabling the favorites list in the account menu.
- Style System support.
The Mini Account component uses the com.adobe.cq.commerce.core.components.models.account.MiniAccount
Sling model as its Use-object.
The following configuration properties are used:
./enableWishList
- enables/disables the favorites list account menu entry
The following properties are written to JCR for this component and are expected to be available as Resource
properties:
./id
- defines the component HTML ID attribute.
BLOCK miniaccount
ELEMENT miniaccount__root
ELEMENT miniaccount__body
- Vendor: Adobe
- Version: v2
- Compatibility: AEM as a Cloud Service / 6.5
- Status: production-ready