Try your search with a different keyword or use * as a wildcard.
@model CustomerModel
@{
const string hideInfoBlockAttributeName = "CustomerPage.HideInfoBlock";
var customer = await workContext.GetCurrentCustomerAsync();
var hideInfoBlock = await genericAttributeService.GetAttributeAsync(customer, hideInfoBlockAttributeName);
const string hideOrdersBlockAttributeName = "CustomerPage.HideOrdersBlock";
var hideOrdersBlock = await genericAttributeService.GetAttributeAsync(customer, hideOrdersBlockAttributeName, defaultValue: true);
const string hideAddressesBlockAttributeName = "CustomerPage.HideAddressesBlock";
var hideAddressesBlock = await genericAttributeService.GetAttributeAsync(customer, hideAddressesBlockAttributeName, defaultValue: true);
const string hideShoppingCartAndWishlistBlockAttributeName = "CustomerPage.HideShoppingCartAndWishlistBlock";
var hideShoppingCartAndWishlistBlock = await genericAttributeService.GetAttributeAsync(customer, hideShoppingCartAndWishlistBlockAttributeName, defaultValue: true);
const string hideActivityLogBlockAttributeName = "CustomerPage.HideActivityLogBlock";
var hideActivityLogBlock = await genericAttributeService.GetAttributeAsync(customer, hideActivityLogBlockAttributeName, defaultValue: true);
const string hidePlaceOrderBlockAttributeName = "CustomerPage.HidePlaceOrderBlock";
var hidePlaceOrderBlock = await genericAttributeService.GetAttributeAsync(customer, hidePlaceOrderBlockAttributeName, defaultValue: true);
const string hideBackInStockSubscriptionsBlockAttributeName = "CustomerPage.HideBackInStockSubscriptionsBlock";
var hideBackInStockSubscriptionsBlock = await genericAttributeService.GetAttributeAsync(customer, hideBackInStockSubscriptionsBlockAttributeName, defaultValue: true);
const string hideRewardPointsBlockAttributeName = "CustomerPage.HideRewardPointsBlock";
var hideRewardPointsBlock = await genericAttributeService.GetAttributeAsync(customer, hideRewardPointsBlockAttributeName, defaultValue: true);
}
@await Html.PartialAsync("_CreateOrUpdate.Info", Model)
@if (Model.Id > 0)
{
@await Html.PartialAsync("_CreateOrUpdate.Orders", Model)
@await Html.PartialAsync("_CreateOrUpdate.Addresses", Model)
@await Html.PartialAsync("_CreateOrUpdate.CurrentShoppingCart", Model)
@await Html.PartialAsync("_CreateOrUpdate.ActivityLog", Model)
@await Html.PartialAsync("_CreateOrUpdate.Impersonate", Model)
@await Html.PartialAsync("_CreateOrUpdate.BackInStockSubscriptions", Model)
}
@if (Model.DisplayRewardPointsHistory)
{
@await Html.PartialAsync("_CreateOrUpdate.RewardPoints", Model)
}
@await Component.InvokeAsync(typeof(AdminWidgetViewComponent), new { widgetZone = AdminWidgetZones.CustomerDetailsBlock, additionalData = Model })