Only logged-in shoppers can view their profile, so you only need to create a logged-in version of the Profile Layout type on account-based storefronts. Like the Home Layout, the Profile Layout needs its header widget modified to manage content for logged-in shoppers appropriately. However, the Profile Layout can share the header widget instance you created for the Home Layout instead of creating a new instance from scratch. For more information on this shared header widget, see Home Layout.
In addition to replacing the Header widget, you must remove the Customer Profile Widget from the Profile Layout and replace it with a modified version. The Customer Profile Widget allows customers to edit their billing and shipping addresses. In account-based storefronts, addresses are managed at the account level and shoppers should not be able to modify them, which makes the Customer Address Book widget inappropriate for account-based storefronts. Instead, account-based storefronts must create a new widget that displays profile information but does not enable address editing.
For details on creating the new profile widget, see Manage Account-based Shopper Profiles in Extending Oracle Commerce Cloud Service. After the widget is created, create a logged-in version of the Profile Layout and modify it as described below:
To create a Profile Layout for logged-in shoppers:
On the Design tab, clone the Profile Layout, give it a descriptive name, enable the ‘Display layout to account shoppers only’ option, and save the clone.
Go to Grid View for the layout, add the
Header Widget, Acct-based, LoggedIn
instance of the Header widget type to the layout and delete the original Header Widget.Delete the Customer Profile Widget and add your custom widget in its place.