Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2005
    Posts
    51
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Nov 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: add last name on welcome email?

    anybody?

  3. #3
    Join Date
    Nov 2007
    Location
    Essex, UK
    Posts
    137
    Plugin Contributions
    1

    Default 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.

    Code:
    // 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

  4. #4
    Join Date
    Nov 2005
    Posts
    51
    Plugin Contributions
    0

    Default Re: add last name on welcome email?

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

    Quote Originally Posted by Nixak View Post
    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.

    Code:
    // 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

 

 

Similar Threads

  1. Welcome Greeting - Choosing the salutation for the first or last name
    By Peace Freak in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 13 May 2013, 10:04 AM
  2. Welcome email and customer company name
    By Shamshop in forum General Questions
    Replies: 4
    Last Post: 18 Sep 2011, 03:59 AM
  3. Can I address BOTH first/last name in email?
    By Feznizzle in forum Customization from the Admin
    Replies: 8
    Last Post: 22 Oct 2010, 04:40 PM
  4. Customer Name Variables in Welcome Email
    By cowspot in forum Managing Customers and Orders
    Replies: 4
    Last Post: 11 May 2009, 06:39 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR