If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Adding new information to confirmation emails

Adding new information to confirmation emails

Locked

Started by delia on 27 Jan 2010, 7:06 PM · Views: 952

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?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
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.

.
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.

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

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

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

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
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 ;)

.
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.

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?

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo