How can i change customers login email id into their name in top menu header.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
9 years ago
After logged in application How can i change customers login email id into their (customer) name in top menu header.
9 years ago
You should change the following code in the HeaderLinks method of the CommonController:

use 'CustomerEmailUsername = customer.GetFullName()'

instead 'CustomerEmailUsername = customer.IsRegistered() ? (_customerSettings.UsernamesEnabled ? customer.Username : customer.Email) : ""'
9 years ago
Hi Mariann, I edited my commoncontroller.cs code following your snippet and it working like a charm.
Thank you also SyedRafik for the post
9 years ago
Mariann wrote:
You should change the following code in the HeaderLinks method of the CommonController:

use 'CustomerEmailUsername = customer.GetFullName()'

instead 'CustomerEmailUsername = customer.IsRegistered() ? (_customerSettings.UsernamesEnabled ? customer.Username : customer.Email) : ""'


Thanks for reply

I have installation files only i don't have full source code. So how can i do in theme's folder.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.