Zen Cart Logo
Forums / General Questions / Plain text emails

Plain text emails

Locked

Views: 3,851

Results 1 to 15 of 15
This thread is locked. New replies are disabled.
19 Feb 2007, 7:43 PM
#1
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Plain text emails

I set myself for plain-text emails only. The order confirmation I received did not include all the fields like it did with HTML email. i.e. it completely omitted EMAIL_DISCLAIMER and EMAIL_SPAM_DISCLAIMER. Is there a different template for automated plain-text emails?

Thanks,
Katie

22 Feb 2007, 4:25 AM
#2
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Plain text emails

Anyone???? :cry:

26 Feb 2007, 1:32 AM
#3
theoracle avatar

theoracle

Suspended

Join Date:
Aug 2004
Posts:
3,180
Plugin Contributions:
1

Re: Plain text emails

As per the roadmap states, text templates and HTML templates will be available seperately starting on Zen-Cart v1.4.

26 Feb 2007, 2:54 AM
#4
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Plain text emails

If they're separate, then why aren't some of the variables not coming through with the plain-text emails? Or is this a normal behavior?

26 Feb 2007, 4:34 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Plain text emails

Are you sure you have a current v1.3.7 uploaded to your site and no missing files or template overrides etc. that are out of date?

I cannot reproduce this issue ...

26 Feb 2007, 4:46 AM
#6
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Plain text emails

I'm beginning to find very funky stuff going on like some template files are from 1.3.6. I'm not sure if I didn't do an upgrade right or what... I think I might have to start from scratch......????? :wacko:

26 Feb 2007, 4:50 AM
#7
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Plain text emails

Or ... get the handy dany Beyond Compare from scootersoftware.com and you can either compare your site vs a clean v1.3.7 on your computer ... or better yet, do an FTP compare of your site to a clean v1.3.7 ...

28 Feb 2007, 5:09 AM
#8
ktnaturals avatar

ktnaturals

Zen Follower

Join Date:
Dec 2006
Location:
Ohio
Posts:
196
Plugin Contributions:
0

Re: Plain text emails

All the templates are up-to-date. I'm still having the same problem... When is 1.4 coming?

28 Feb 2007, 6:06 AM
#9
drbyte avatar

drbyte

Sensei

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

Re: Plain text emails

/includes/functions/functions_email.php

line 88-89 says this:

      // bof: body of the email clean-up
      // clean up & and && from email text

insert the following line BEFORE those lines:```
if (!strstr($email_text, EMAIL_SPAM_DISCLAIMER)) $email_text .= "\n" . EMAIL_SPAM_DISCLAIMER;


This will append the EMAIL_SPAM_DISCLAIMER to the bottom of all text-only emails.
25 Sep 2007, 3:41 AM
#10
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Re: Plain text emails

I have the opposite problem, but I figured it was close enough related to post my question here:

On the text email, the MODULE_PAYMENT_POSTALTRANSFER_TEXT_EMAIL_FOOTER displays when customer has selected postal transfer as their payment method. (I have writting some payment instructions here that are special for postal transfer customers)

But on the html email, this section does not appear anywhere.

I would like to add it into the checkout email template but not sure how to do this because it needs to be dependent on the payment system selected.

Any ideas?

25 Sep 2007, 3:48 AM
#11
drbyte avatar

drbyte

Sensei

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

Re: Plain text emails

thomasw98:

On the text email, the MODULE_PAYMENT_POSTALTRANSFER_TEXT_EMAIL_FOOTER displays when customer has selected postal transfer as their payment method. (I have writting some payment instructions here that are special for postal transfer customers)

But on the html email, this section does not appear anywhere.

In the text emails, does it appear literally as: MODULE_PAYMENT_POSTALTRANSFER_TEXT_EMAIL_FOOTER

Or does it display what you defined it to be in your language file?

25 Sep 2007, 3:58 AM
#12
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Re: Plain text emails

It displays very nicely what I defined in the language files. No problem there.

I am now looking at the html template and it does appear to have a line calling the payment method footer:

<td class="payment-footer">$PAYMENT_METHOD_FOOTER</td>

but I guess this is not working right for some reason. That's the best I can figure out at this point.

25 Sep 2007, 4:19 AM
#14
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Re: Plain text emails

That solves it. Thanks! I would have never been able to figure out that one.

:clap:

25 Sep 2007, 5:40 AM
#15
thomasw98 avatar

thomasw98

Zen Follower

Join Date:
Aug 2007
Location:
Eugene, OR
Posts:
166
Plugin Contributions:
0

Re: Plain text emails

I am really getting my $100 worth of support! Ha ha! :D

(Though, strangely, no one has cashed the check that I sent in a few weeks ago).