Forums / Templates, Stylesheets, Page Layout / Email_disclaimer & email_spam_disclaimer

Email_disclaimer & email_spam_disclaimer

Locked

Started by shakur96 on 26 Nov 2008, 1:53 AM · Views: 1,082

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
26 Nov 2008, 1:53 AM
#1
shakur96 avatar

shakur96

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

Email_disclaimer & email_spam_disclaimer

In all of my admin emails EMAIL_SPAM_DISCLAIMER are EMAIL_DISCLAIMER are not showing instead the just "EMAIL_DISCLAIMER" and "EMAIL_SPAM_DISCLAIMER" are displayed not the words defined in the email_extras file.

Any ideas?

Regards

26 Nov 2008, 8:45 AM
#2
drbyte avatar

drbyte

Sensei

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

Re: Email_disclaimer & email_spam_disclaimer

That means the definitions in your language file are either missing or inaccessible due to syntax errors in definitions above them.
Also, there are two different email_extras files ... one in the admin and one in the storefront, with different content in each.

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

26 Nov 2008, 6:46 PM
#3
shakur96 avatar

shakur96

New Zenner

Join Date:
Jan 2008
Posts:
36
Plugin Contributions:
0

Re: Email_disclaimer & email_spam_disclaimer

I've reinstalled both email_extras files from zencart instllation files, just tried a dummy order and the order email customers get still is not showing the disclaimers, just the names still. Bother are defined on the files. Dont get it.

example of whats defined:-

// email disclaimer
define('EMAIL_DISCLAIMER', 'This email address was given to us by you or by one of our customers. If you feel that you have received this email in error, please send an email to %s ');
define('EMAIL_SPAM_DISCLAIMER','If you no longer wish to receive emails from us, please respond directly to this email.');
define('EMAIL_FOOTER_COPYRIGHT','2008 Copyright (c) ' . date('Y') . ' <a href="' . zen_href_link(FILENAME_DEFAULT) . '" target="_blank">' . STORE_NAME . '</a>. Powered by <a href="http://www.zen-cart.com" target="_blank">Zen Cart</a>');
define('TEXT_UNSUBSCRIBE', "\n\nTo unsubscribe from future newsletter and promotional mailings, simply click on the following link: \n");

26 Nov 2008, 7:04 PM
#4
drbyte avatar

drbyte

Sensei

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

Re: Email_disclaimer & email_spam_disclaimer

How many email_extras.php files do you have on your server? Where exactly is each one located? Do they all contain the definitions for those elements?
Do you have one in an override folder that's missing the defines? That is likely overriding things.

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