Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2006
    Posts
    33
    Plugin Contributions
    0

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

    Like welcome email which is now

    greeting lastname,

    blah blah blah.


    because in Thailand use firstname everywhere.

    thanks.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,374
    Blog Entries
    7
    Plugin Contributions
    274

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

    /includes/modules/YOURTEMPLATE/create_account.php
    around line 318:
    Code:
        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:
    Code:
          $email_text = sprintf(EMAIL_GREET_NONE, $firstname);
    or replace $firstname with $name if you wish to use both names.
    .

    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.

  3. #3
    Join Date
    Jun 2006
    Posts
    33
    Plugin Contributions
    0

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

    thank you very much

 

 

Similar Threads

  1. Can I change the default tax class to TAXABLE instead of none?
    By ossobocco in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 1
    Last Post: 5 Apr 2013, 05:47 PM
  2. Can you change state informatH
    By jazzah in forum General Questions
    Replies: 0
    Last Post: 20 Jan 2011, 12:05 AM
  3. Can I add an attribute where the customer enters text instead of using a drop down?
    By red_hatorade in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 20 Sep 2009, 06:02 PM
  4. Can't Login to Admin Portal FirstName||Email
    By bohan36 in forum Basic Configuration
    Replies: 11
    Last Post: 30 Oct 2008, 01:16 PM
  5. Can I change the State to just the State Code?
    By rbobzin in forum General Questions
    Replies: 0
    Last Post: 10 Jul 2008, 10:58 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