Hello all,
I'd like to include a note on the receipt that is emailed to customers, but only for specific products. Is this possible?
Thanks for your help,
Leah
Hello all,
I'd like to include a note on the receipt that is emailed to customers, but only for specific products. Is this possible?
Thanks for your help,
Leah
You'll have to write custom code to intercept the generated order contents and add extra content to the email it sends.
That involves scalpel and sutures and a careful study of the order class and its intricasies.
In v2.0, using a combination of the notifier/observer infrastructure and the new email templating system, the process is much simpler, although not trivial.
.
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.
Thanks for your response, Dr. Byte.
I've followed the directions here (http://www.zen-cart.com/forum/showpo...57&postcount=1) to add a new property and added a field to the product information in the back end. I know that it's being captured in the database. Now all I need to do is add a space in the receipt to show the extra note. I believe the files I need to be editing are
admin/classes/order.php
includes/languages/english/checkout_process.php
but I'm not sure what the PHP call should look like to get the information back out. Can you help?
Thanks so much!
Leah