Zen Cart Logo
Forums / Basic Configuration / plain text order confirmation emails

plain text order confirmation emails

Locked

Views: 2,141

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
2 Sep 2007, 12:41 PM
#1
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

plain text order confirmation emails

Hi,
My store was sending out plain text order confirmation emails before I switched on "Use Mime HTML when sending emails" in the email options.

I still want to send out newsletters on HTML so I need to keep this on, but I want order conformations to go out in plain text.

Is this possible?

Also, where do I edit the html template for order confirmations?

4 Sep 2007, 10:03 PM
#2
tbrides avatar

tbrides

Zen Follower

Join Date:
Oct 2006
Posts:
198
Plugin Contributions:
0

Re: plain text order confirmation emails

i need to bump this - anybody?

5 Sep 2007, 12:33 AM
#3
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Re: plain text order confirmation emails

Other than switching 'use Mime' on only when you send out newsletters, you could edit /includes/functions/functions_email.php, and look for the 'determine customers email preference' section.

Just below that code section, between it and the 'determine what format to send extra admin emails' section, add

if ($module=='checkout') $customer_email_format = 'TEXT';

that should force any order confirmation email to text only.

The order conf. email template is

/email/email_template_checkout.html

Rgds,