If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / where I can change in everywhere to state firstname instead of lastname?

where I can change in everywhere to state firstname instead of lastname?

Locked

Started by tonyinabox on 28 Aug 2006, 8:12 AM · Views: 1,498

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
28 Aug 2006, 8:12 AM
#1
tonyinabox avatar

tonyinabox

New Zenner

Join Date:
Jun 2006
Posts:
33
Plugin Contributions:
0

Post #1 by tonyinabox

Like welcome email which is now

greeting lastname,

blah blah blah.

because in Thailand use firstname everywhere.

thanks.

28 Aug 2006, 10:06 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #2 by drbyte

/includes/modules/YOURTEMPLATE/create_account.php
around line 318:if (ACCOUNT_GENDER == 'true') { if ($gender == 'm') { $email_text = sprintf(EMAIL_GREET_MR, $lastname); } else { $email_text = sprintf(EMAIL_GREET_MS, $lastname); } } else { $email_text = sprintf(EMAIL_GREET_NONE, $firstname); }replace with:```
$email_text = sprintf(EMAIL_GREET_NONE, $firstname);

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

28 Aug 2006, 10:19 AM
#3
tonyinabox avatar

tonyinabox

New Zenner

Join Date:
Jun 2006
Posts:
33
Plugin Contributions:
0

Post #3 by tonyinabox

thank you very much :smartass: