AbanteCart Development > Customization help
variable name for login name
(1/1)
quekbhj:
Hi
I am using default_html5 template.
I am trying to modify the activation notification mail so that it can display the customer's login name.
May I know the variable/field name that is being used for this login name?
Thank you
Jasmine
abantecart:
In any account page/controller you can access customer class to get customer details:
--- Code: --- $this->data['customer_name'] = $this->customer->getFirstName();
or
$this->data['customer_name'] = $this->customer->getLastName();
--- End code ---
See this controller for example:
storefront/controller/pages/account/account.php
quekbhj:
Thank you
Navigation
[0] Message Index
Go to full version