Results 1 to 5 of 5
  1. #1
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Adding new information to confirmation emails

    I need to add a new line/information to the confirmation email. These are being sent in text.

    I have changed the checkout_process.php to add the text
    define('EMAIL_TEXT_PIN_NUMBER', 'Pin Number:');

    and changed the class- order.php and added this line:

    $html_msg['PIN_NUMBER'] = EMAIL_TEXT_PIN_NUMBER.' xxxxxx';

    (the x's are for testing purposes)

    right before the comments part of the message on line 925. But nothing shows up in the email.

    Have I missed a step?
    The full-time Zen Cart Guru. WizTech4ZC.com

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

    Default Re: Adding new information to confirmation emails

    The $html_msg variable is *only* used for the HTML-formatted emails. You'll have to also update the other variable being assembled for text-only content.
    .

    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
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Adding new information to confirmation emails

    that makes sense (duh, what was I thinking?) I now see references interspersed throughout labeled $email_order
    The full-time Zen Cart Guru. WizTech4ZC.com

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Adding new information to confirmation emails

    In v2.0 you'll be able to do both text-and-html formats in the same line of code ... so that's something to look forward to ;)
    .

    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.

  5. #5
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Adding new information to confirmation emails

    You keep saying that! So when? I'm doing lots of sites right now - I don't mind upgrading but all these new clients are going to get really ticked when the new version comes out next month or something. Is there anything I can do to help?
    The full-time Zen Cart Guru. WizTech4ZC.com

 

 

Similar Threads

  1. Adding content to order confirmation emails.
    By thebigkick in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 12 May 2012, 04:48 PM
  2. Adding Information to Order Confirmation Email
    By solarguy in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2010, 04:52 AM
  3. new order confirmation emails suddenly stopped
    By bkyard in forum General Questions
    Replies: 10
    Last Post: 2 Jun 2010, 01:53 PM
  4. Adding Info To Confirmation Emails
    By msilva in forum General Questions
    Replies: 0
    Last Post: 24 Sep 2007, 09:15 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