Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2010
    Location
    Green Bay, WI
    Posts
    360
    Plugin Contributions
    1

    Default Email customization

    I have been searching for a bit and unable to find the answers. And the book doesn cover it that I could find.

    I am trying to write custom order confirmation emails. I want to include the persons name in the email (eg: Holy crap a new order from (CUSTOMERS NAME) just came in...

    How can I do this?

    Where do I edit email text?

    What is the code needed to pull the customers name?

    Thanks for the help.
    Forums are for helping people!! if you don't want to help people then shut up and get off the forum!

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

    Default Re: Email customization

    The last 150 lines of /includes/classes/order.php are where order-confirmation email contents are prepared and sent.

    If you're only using HTML emails, you can just edit the /email/email_template_checkout.html, because the placeholders for the customer name are already there: $EMAIL_FIRST_NAME $EMAIL_LAST_NAME
    .

    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.

 

 

Similar Threads

  1. v139h Email Customization
    By yaseent in forum Managing Customers and Orders
    Replies: 2
    Last Post: 17 Aug 2012, 02:15 AM
  2. Order confirmation email - customization
    By tparvaiz in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Jul 2011, 01:44 PM
  3. Email customization
    By cdjohn31 in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 24 Feb 2008, 12:37 PM
  4. Email Targeting Customization
    By pheniks in forum General Questions
    Replies: 3
    Last Post: 18 Dec 2007, 09:12 PM
  5. Email customization questions
    By thecatinthetree in forum General Questions
    Replies: 10
    Last Post: 19 Oct 2007, 02:51 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