How do you add additional customer info to the $EXTRA_INFO box at the bottom of email order confirmations?
How do you add additional customer info to the $EXTRA_INFO box at the bottom of email order confirmations?
Ironically, more people ask how to remove that than they do how to add to it.
You would need to completely hack up the code in the functions_email file to add new parameters to pass as well as create more content to output. And that'll make upgrading more complicated in the future.
You might be better off adding more content to the array that's returned from that function after it's run.
.
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.
Thank you. I've changed the Date of Birth feature to a Wedding Date feature so I would need it to come through with each order. I see there's a very similar topic you've been helping with, here:
http://www.zen-cart.com/forum/showth...38#post1092738
So, I've added a reply to the bottom of that thread as it seems I might be able to use the same ideas that are there?