Account menu
Add the account icon to the Volume header and choose the menu that appears in the account dialog.
The account icon opens a dialog on the same page instead of sending the shopper to a separate account page, and Account menu decides which links that dialog contains.
How to add
Add the icon
Show account Off out of the box. You can tick it whether or not customer accounts are on, but the icon only renders on the storefront once they are — so a ticked checkbox and no icon almost always means the admin setting, not the theme.
Account How the icon looks: Icon, Icon with text or Text. The default is Icon.
Hide on mobile Removes it from the mobile header only.
Pick the menu
Account menu selects the menu shown in the dialog. The editor says: Select the menu shown in the account dialog. Legacy accounts not supported. The default handle is customer-account-main-menu.
The Account block in the Mobile dock section has the same Account menu setting, and it is set separately from the header.
Good to know
Shopify does not create a menu with the handle customer-account-main-menu for you. On most stores that menu does not exist, so the dialog opens with nothing in it. Create the menu in Content → Menus, then pick it in Account menu.
The dialog is Shopify's own customer accounts component, so the theme controls which menu goes in it and nothing else about it. Sign-in, the one-time code and the account page itself are Shopify's.
Legacy customer accounts are not supported. A store still on legacy accounts needs to move to new customer accounts before the dialog works.
On mobile the header always renders the plain icon, whatever Account is set to on desktop.
Related
Was this helpful?
