Hello.
Using nopCommerce 3.90, Default theme.
How to display Customer ID on the account page?
No source code.., please...
Thanks.
Nop.Core.Infrastructure.EngineContext.Current.Resolve<IWorkContext>().CurrentCustomer.Id
@Nop.Core.Infrastructure.EngineContext.Current.Resolve<IWorkContext>().CurrentCustomer.Id
<div class="page-title"><h1>My account - Customer info</h1></div>
<div class="YourNewCustomerIdClass">@(Nop.Core.Infrastructure.EngineContext.Current.Resolve<IWorkContext>().CurrentCustomer.Id)</div>
.YourNewCustomerIdClass {
text-align: right;
font-size: 12px;
padding: 0 10px 0 10px;
}