Post by pflouwh » Wed Aug 27, 2008 3:14 am

Hello all,

I am completely new to php an after working through this whole opencart thing I am finally at a problem I cannot solve on my own:

In the confirmation email, there is only used the first name in the salutation. How can I change that to first and last name. Same for the greeting after customer login at the shop itself.

I know that the solution is very simple but I don't get it …
Many thanks in advance from a newbie!

Cheers

Newbie

Posts

Joined
Wed Aug 27, 2008 3:05 am

Post by Qphoria » Wed Aug 27, 2008 4:57 am

Edit the catalog/controller/checkout_confirm.php file
Change:

Code: Select all

$email->set('email_greeting', $language->get('email_greeting', $customer->getFirstName()));
to:

Code: Select all

$email->set('email_greeting', $language->get('email_greeting', $customer->getFirstName() . " " . $customer->getLastName()));

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 1 guest