Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

    Default 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?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default 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.
    .

    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.

  3. #3
    Join Date
    Jan 2009
    Posts
    2,123
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte View Post
    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/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?

 

 

Similar Threads

  1. v155 Add company name to order confirmation email
    By Ryder in forum General Questions
    Replies: 5
    Last Post: 17 Aug 2016, 01:13 AM
  2. v139h Add a second date of birth field
    By boettchercomm in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 22 Feb 2012, 07:56 PM
  3. Date of Birth removing when editing order.
    By jakedownhere in forum Managing Customers and Orders
    Replies: 1
    Last Post: 29 Apr 2011, 11:07 PM
  4. Add text in Order Confirmation email?
    By thobby in forum General Questions
    Replies: 0
    Last Post: 7 Sep 2008, 05:02 PM
  5. Email order confirmation has wrong date format
    By oavs in forum General Questions
    Replies: 0
    Last Post: 22 Aug 2008, 10:21 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg