CustomerNavigation shows the menu in the customer's account: info, addresses, orders and so on, as below.From this menu the customer goes to their info, addresses, orders, back-in-stock subscriptions and more.It takes one parameter, selectedTabId, which sets the selected tab:@await Component.InvokeAsync("CustomerNavigation", new { selectedTabId = CustomerNavigationEnum.Info })
CustomerNavigationEnum values (each one also marks its tab as selected):1.
CustomerNavigationEnum.Info: the customer's info, such as name and email (selected in the picture above).
2.
CustomerNavigationEnum.Addresses: the customer's addresses.
3.
CustomerNavigationEnum.Orders: the customer's orders.
4.
CustomerNavigationEnum.BackInStockSubscriptions: back-in-stock subscriptions.
5.
CustomerNavigationEnum.RewardPoints: the reward points the customer has collected in the store.
6.
CustomerNavigationEnum.ChangePassword: changing the password.
7.
CustomerNavigationEnum.Avatar: viewing and changing the customer's avatar.
8.
CustomerNavigationEnum.ProductReviews: all of the customer's product reviews.
9.
CustomerNavigationEnum.MultiFactorAuthentication: the security tab for turning two-factor authentication on or off.
Every tab links to its page. For example, Info links to the account info page in the customer's account.
This component works only in the customer account area, because all of its links point to pages inside the account.
It's shown only to signed-in customers: visitors can't see it until they sign in.
The component has two widget zones, AccountNavigationBefore before it and AccountNavigationAfter after it, where you can add content or ads.