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
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
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.
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");
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.