Zen Cart Logo
Forums / General Questions / Add Date of Birth to eMail Order Confirmation $EXTRA_INFO Box

Add Date of Birth to eMail Order Confirmation $EXTRA_INFO Box

Views: 714

Results 1 to 3 of 3
7 Jan 2012, 11:57 PM
#1
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Add Date of Birth to eMail Order Confirmation $EXTRA_INFO Box

How do you add additional customer info to the $EXTRA_INFO box at the bottom of email order confirmations?

8 Jan 2012, 12:53 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Add Date of Birth to eMail Order Confirmation $EXTRA_INFO Box

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.

8 Jan 2012, 1:42 PM
#3
limelites avatar

limelites

Totally Zenned

Join Date:
Jan 2009
Posts:
2,085
Plugin Contributions:
0

Re: Add Date of Birth to eMail Order Confirmation $EXTRA_INFO Box

DrByte:

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.

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/showthread.php?p=1092738#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?