Which template is used when sending email to customer in admin? I would like to introduce a few blank lines before the disclaimers. Now they look like of an extension of the signiture in the actual mail.![]()
Which template is used when sending email to customer in admin? I would like to introduce a few blank lines before the disclaimers. Now they look like of an extension of the signiture in the actual mail.![]()
You can add some line breaks to the beginning of the disclaimer text in your admin email_extras.php 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.
Dear DrByte, is it possible for you to tell me which template is used, or do I have to manually go through the whole set? The question to your answer is "how do I add new empty lines to the disclaimer"! Unfortunately I don't know that either..... It could be "\n" or ...
In my last post I told you: the admin email_extras.php language file.
And yes, "\n" is a line break for text-only emails, and the system will translate that to <br> for HTML emails.
.
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.
Nice, except my
and the email message ending in "KR, John"Code:define('EMAIL_DISCLAIMER', '\n\n\nVi har mottagit denna e-mail-adress av dig eller någon av våra kunder. Om du tycker att du mottagit detta e-mail i misstag var vänlig och skicka ett e-mail till %s');
ends up in the mail like
BTW. Why is the "From" field editable as changing it doesn't seem to have any effect!?Code:... KR, John nnnVi har mottagit ...
Last edited by kalastaja; 26 Oct 2012 at 07:34 PM.
'\n'
is very different from
"\n"
The \n is only treated as a line-break when it's inside double-quotes. Not single-quotes.
So, to add line breaks to the beginning, add "\n" specifically.
ie:
define('CONSTANT_NAME', "\n\n" . 'the usual text here');
.
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.