News:

AbanteCart v1.4.2 is released.

Main Menu

variable name for login name

Started by quekbhj, September 03, 2013, 01:25:43 PM

Previous topic - Next topic

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:


$this->data['customer_name'] = $this->customer->getFirstName();
or
$this->data['customer_name'] = $this->customer->getLastName();



See this controller for example:
storefront/controller/pages/account/account.php

quekbhj


Forum Rules Code of conduct
AbanteCart.com 2010 -