Try your search with a different keyword or use * as a wildcard.
@model HeaderLinksModel
@using Nop.Core.Domain.Customers
@inject Nop.Core.IWebHelper webHelper
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.HeaderLinksBefore, additionalData = Model })
@if (Model.IsAuthenticated)
{
- @T("Account.MyAccount")@*@Model.CustomerName*@
- @T("Account.Logout")
}
else
{
var returnUrl = Context.Request.Query.TryGetValue("returnUrl", out var url) && !StringValues.IsNullOrEmpty(url)
? url.ToString()
: webHelper.GetRawUrl(Context.Request);
@if (Model.RegistrationType != UserRegistrationType.Disabled)
{
- @T("Account.Register")
}
- @T("Account.Login")
}
@if (Model.AllowPrivateMessages)
{
-
@T("PrivateMessages.Inbox")
@Model.UnreadPrivateMessages
}
@if (Model.WishlistEnabled)
{
-
@T("Wishlist")
@T("Wishlist.HeaderQuantity", Model.WishlistItems)
}
@if (Model.ShoppingCartEnabled)
{
-
@T("ShoppingCart")
@T("ShoppingCart.HeaderQuantity", Model.ShoppingCartItems)
}
@await Component.InvokeAsync(typeof(WidgetViewComponent), new { widgetZone = PublicWidgetZones.HeaderLinksAfter, additionalData = Model })
@if (Model.AllowPrivateMessages && !string.IsNullOrEmpty(Model.AlertMessage))
{
//new private message notification
}
@if (Model.ShoppingCartEnabled)
{
}