Similar to the cart layout, Oracle Commerce Cloud Service ships with two versions of the checkout layout, Checkout Layout or Checkout Layout with GiftCard. For account-based storefronts, you must pick one of these layouts to clone and modify it for logged-in shoppers. You do not need to create a guest version of this layout because only logged-in shoppers can create an order and check out.
Out of the box, the checkout layouts include a different instance of the header widget, called Header – Basic Widget
. This instance only includes a logo. It does not provide access to features like the currency and language selector, the search box, or the cart link, which are no longer appropriate for a shopper at the point of checkout. To create an account-based version of a basic header widget, you create a new instance of the Header widget and modify it to include the Company Name and Company Logo elements.
In addition to modifying the Header widget, you must remove the Customer Address Book widget from this layout and replace it with the Account Address Book widget. The Customer Address Book widget allows customers to modify 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 use the Account Address Book widget which allows a contact to choose an address from those defined for the account and specify a person to ship to but further editing of the address is not available.
To create a checkout layout for logged-in shoppers:
Choose a checkout layout to clone, either Checkout Layout or Checkout Layout with GiftCard.
Give the clone a descriptive name, enable the ‘Display layout to account shoppers only’ option, and save it.
Go to Grid View for the layout, add a new instance of the Header widget type and give it a descriptive name like
Header - Basic, Acct-based, LoggedIn
. Modify the new widget instance:Remove the row with the Currency, Language, and Login/Registration elements.
Remove the row with the Cart Link element.
Remove the Search element in the remaining row.
Add the Company Logo and Company Name elements to the remaining row.
Delete the original
Header – Basic Widget
.Delete the Customer Address Book widget and add the Managed Account Address Book widget in its place.