Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Welcome Greeting - Choosing the salutation for the first or last name

    I have a two language cart. When a new account is made in the English side, a welcome email is sent out with "Dear Mr Smith" which is fine.

    For the Japanese side however, the email is sent out with the salutation to the first name, which is not definitely not polite. I have done some searching to try an find out how to change this, but have not had any luck.

    I will use the English side in this example.

    In this code:

    includes/languages/english/create_account.php I can see:

    define('EMAIL_GREET_MR', 'Dear Mr. %s,' . "\n\n");

    so I am wondering how I can change the code that decides the field that %s uses for its data?

    Or is there another way to go about this?

    Thanks in advance!

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Welcome Greeting - Choosing the salutation for the first or last name

    Have you considered just turning off the Salutation field ?

  3. #3
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Re: Welcome Greeting - Choosing the salutation for the first or last name

    Actually, the salutation is not the problem!

    It is the order that the names appear in the Welcome Message (and for that matter, in the 1st, 2nd & 3rd checkout pages of the store).

    For the English side they are fine but for the Japanese side the names need to be displayed in the order of Last Name, First Name.

  4. #4
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,023
    Plugin Contributions
    32

    Default Re: Welcome Greeting - Choosing the salutation for the first or last name

    Quote Originally Posted by Peace Freak View Post
    Actually, the salutation is not the problem!

    It is the order that the names appear in the Welcome Message (and for that matter, in the 1st, 2nd & 3rd checkout pages of the store).

    For the English side they are fine but for the Japanese side the names need to be displayed in the order of Last Name, First Name.
    You're gonna have to make this change in more than this place.. ALL the customer e-mails for example use this same customer name variable..

    Personally I wonder if you could make it easy on yourself and turn off the welcome message all together..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  5. #5
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Re: Welcome Greeting - Choosing the salutation for the first or last name

    As the site is more of a Japanese site than an English one, I don't mind adjusting whatever needs adjusting to get it right.

    If you or someone will give me an example of what I need to do, I will work my way through whatever needs to be done to get it right!

    Thanks!

  6. #6
    Join Date
    Apr 2006
    Posts
    358
    Plugin Contributions
    0

    Default Re: Welcome Greeting - Choosing the salutation for the first or last name

    Well, I have found what appears to be a workable solution. What I have done (it still needs more testing) is to change the label on the First Name/Last Name fields on the Japanese New Customers Form (includes/languages/mytemplate/japanese.php). So I swapped, Last to First, and First to Last.

    Now, when Japanese people make a new account their family name ends up in the same field as English speaking members...

    I would like to know how to change the physical order of the name field label and fields so that on the New Customers form, instead of:

    First Name
    Last Name

    it is:
    Last Name
    First Name

    Is this doable?

    Thanks!

 

 

Similar Threads

  1. v151 Customers Name - Last Name, First Name
    By cjcraven in forum General Questions
    Replies: 8
    Last Post: 14 May 2014, 04:08 PM
  2. v151 Choosing attributes at cetegory level or just once on the first product
    By DaveEvans in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 17 Jun 2013, 03:04 PM
  3. Move the welcome greeting up
    By cousinschar in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 24 Jan 2012, 09:57 PM
  4. add last name on welcome email?
    By keenskin in forum General Questions
    Replies: 3
    Last Post: 2 Apr 2009, 10:12 AM
  5. switch the display of order of first name and last name on each address
    By weber in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 21 Nov 2008, 07:34 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