Zen Cart Logo
Forums / General Questions / Adding new information to confirmation emails

Adding new information to confirmation emails

Locked

Views: 949

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
27 Jan 2010, 7:06 PM
#1
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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?

27 Jan 2010, 7:46 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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.

27 Jan 2010, 8:58 PM
#3
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Adding new information to confirmation emails

that makes sense (duh, what was I thinking?) I now see references interspersed throughout labeled $email_order

27 Jan 2010, 9:09 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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 ;)

27 Jan 2010, 9:19 PM
#5
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

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?