I'm looking to re-configure how the e-mails look and the information they contain, and I can find them in the zencart/emails folder, but there are variables that I'm unable to find.
Where is the text built?
I'm looking to re-configure how the e-mails look and the information they contain, and I can find them in the zencart/emails folder, but there are variables that I'm unable to find.
Where is the text built?
This same document is contained in your /docs/ folder of the original Zen Cart zip file: https://www.zen-cart.com/tutorials/i...hp?article=113
.
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.
So it is - thanks. I was still unable to find where the text is actually defined - it mentions a few files but I can't seem to find the actual text anywhere (and developer's toolkit isn't helping).
For example, where do I find-$EMAIL_WELCOME ?
That comes from whatever you've defined in your language file for EMAIL_WELCOME.
.
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 think I'm starting to understand this - it's the individual pages themselves that send the emails so aside from the page text being defined in the /includes/languages/english/templates/YOUR_TEMPLATE/, the e-mail text is as well.
So for the welcome e-mail, the text is mostly defined in /includes/languages/english/templates/YOUR_TEMPLATE/create_account.php
For the order status update email - /zc_admin/includes/languages/english/orders.php
Hopefully this will help anyone else who finds this thread.
IIRC - the admin area doesn't use templates does it? So any updates will overwrite changes in the admin area?
In Zen Cart v1.x ...
All system content comes from language files. That includes emails too.
And adding new content to emails requires altering the core code that generates each page-specific email.
So does changing layout of text-only emails. Layout of html-styled emails is controlled by the email template files in the /email/ folder.
And, yes, the v1.x admin has no override support: you must edit the files directly.
.
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.