Zen Cart Logo
Forums / General Questions / add last name on welcome email?

add last name on welcome email?

Locked

Views: 1,641

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
23 Feb 2009, 10:22 PM
#1
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

add last name on welcome email?

Currently, the welcome email (after creating account) ONLY contains First name.
Very first line, it reads "Dear XXX"
Is there a way to add Last name?

thanks in advance.

Zencart V1.3.8a

24 Feb 2009, 5:43 PM
#2
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: add last name on welcome email?

anybody?

31 Mar 2009, 10:40 AM
#3
nixak avatar

nixak

Zen Follower

Join Date:
Nov 2007
Location:
Essex, UK
Posts:
137
Plugin Contributions:
1

Re: add last name on welcome email?

All my emails are addressed to the persons surname already .... I don't know if this will help you but look in includes/languages/english/create_account.php not far down you will should a block of code like this.

// greeting salutation
define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME);
define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");
define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n");
define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

This code was taken from my file and all I can guess is the %s refers to the surname, maybe you have something else there.

Hope this helps :smile:

2 Apr 2009, 9:12 AM
#4
keenskin avatar

keenskin

New Zenner

Join Date:
Nov 2005
Posts:
49
Plugin Contributions:
0

Re: add last name on welcome email?

thanks Nixak.
unfortunately, your instruction did not work, but thanks for your attention anyway.

Nixak:

All my emails are addressed to the persons surname already .... I don't know if this will help you but look in includes/languages/english/create_account.php not far down you will should a block of code like this.

// greeting salutation
define('EMAIL_SUBJECT', 'Welcome to ' . STORE_NAME);
define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");
define('EMAIL_GREET_MS', 'Dear Ms. %s,' . "\n\n");
define('EMAIL_GREET_NONE', 'Dear %s' . "\n\n");

> 
> This code was taken from my file and all I can guess is the **%s** refers to the surname, maybe you have something else there.
> 
> Hope this helps :smile: