Forums / General Questions / "Direct Email" not using correct footer/SPAM language?

"Direct Email" not using correct footer/SPAM language?

Locked

Views: 1,350

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
6 Jan 2010, 9:38 PM
#1
jenny_jane avatar

jenny_jane

New Zenner

Join Date:
Nov 2009
Posts:
11
Plugin Contributions:
0

"Direct Email" not using correct footer/SPAM language?

I've added some language to the SPAM disclaimer in this file:

/includes/languages/english/my_template/email_extras.php

The new text shows up in Forgotten Password, Order Confirmation and Welcome emails. However, it doesn't show up in the Direct Email (Admin > Tools > Send Email). Also, the footer says Copyright Zen Cart, even though I've changed the store name.

I looked at this file:

/email/email_template_direct_email.html

And it uses the same code as every other email... $EMAIL_FOOTER_COPYRIGHT, $EMAIL_DISCLAIMER, $EMAIL_SPAM_DISCLAIMER... So why would the footer not show up correctly on these emails?

Thanks for any input. I'm using the latest version of Zen Cart.

7 Jan 2010, 5:10 PM
#2
jenny_jane avatar

jenny_jane

New Zenner

Join Date:
Nov 2009
Posts:
11
Plugin Contributions:
0

Re: "Direct Email" not using correct footer/SPAM language?

I figured it out. I changed the EMAIL_SPAM_DISCLAIMER and EMAIL_FOOTER_COPYRIGHT in this file, in addition to the template file:

/admin/includes/languages/english/email_extras.php

And now the footer in ALL of the emails are the same. I don't fully understand why you need to change both files, but at least it's fixed.

12 Jan 2010, 2:05 AM
#3
drbyte avatar

drbyte

Sensei

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

Re: "Direct Email" not using correct footer/SPAM language?

The admin copy of the language file affects emails sent from the admin.
That's why your admin emails weren't changing when you didn't update the admin language file.

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