New Zenner
- Join Date:
- Nov 2010
- Posts:
- 19
- Plugin Contributions:
- 0
Different Email Templates for Special Needs
I was wondering if there was a way to use a specific email template that I have in html to be able to send to a specified user.
Thanks
Views: 563
New Zenner
I was wondering if there was a way to use a specific email template that I have in html to be able to send to a specified user.
Thanks
Black Belt
I was wondering if there was a way to use a specific email template that I have in html
The defaults are in /email and are full of constants so that the correct names, order details, etc are included
Retain an original locally and play with adding the constants to yours naming it exactly as the original and test
Zen-Venom Get Bitten
New Zenner
Thank you but how do i choose an email template to send a particular client.
For example:
When I get a new order i would like to email my supplier that we have a new order and to ship me the product. The information would be all in a template with the name lets say supplier_template. We would not want to use the templates that are already in that folder but one that we have designed.
Thanks
Sensei
If you don't specify the "module" parameter in your call to zen_mail() then it will use the default template. If you create your own special template file, named appropriately, and mention that in the zen_mail() call, then it will look for that special template to use when sending.
Or you can just send a text-only email to them, and skip using any template altogether.
.
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.
New Zenner
Are you able to please tell me in what file I would include this email call.
Thank you,
Sensei
Whatever file you're using to send the emails to those suppliers in your custom code.
.
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.
Tell staff why this post should be reviewed.