Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2012
    Posts
    2
    Plugin Contributions
    0

    Default Adding Customer's DOB to Admin view 'orders.php'

    I've seen similar threads about this, but nothing directly explaining it.

    I want customers_dob to show in the admin section on the main customer order page.
    (along with the rest of the customer's information in Customers >> Orders, where there is information such as IP address etc...)

    My client wants the DOB to be visible here rather than having to go back to the customers page and click through to get to it.

    I seem to be running into a problem because customers_dob is stored in the CUSTOMERS table, not the ORDERS table, and I just lack the PHP knowledge to code it.

    I've found this thread which almost explains something similar:
    http://www.zen-cart.com/showthread.p...Orders-Invoice

    Can anyone explain exactly what to add to functions/classes/order.php?
    Or, indeed if this is the core file I should be messing around with?

  2. #2
    Join Date
    Jun 2009
    Location
    Orange County, California
    Posts
    544
    Plugin Contributions
    18

    Default Re: Adding Customer's DOB to Admin view 'orders.php'

    This isn't exactly the field you are looking to add, but I think a similar method will work for you. Just replace all the 'fax' variables with your 'dob' variables.

    http://www.zen-cart.com/showthread.p...n-s-Order-page

  3. #3
    Join Date
    Jun 2012
    Posts
    2
    Plugin Contributions
    0

    Default Re: Adding Customer's DOB to Admin view 'orders.php'

    That did the trick, got it working perfectly.

    Not sure how I missed that other thread - Thank you for your help!

 

 

Similar Threads

  1. Customer view orders link is missing?,
    By tcarden in forum Managing Customers and Orders
    Replies: 1
    Last Post: 26 Mar 2013, 09:56 PM
  2. v138a display product categories in orders.php (order details view)?
    By myshol in forum Customization from the Admin
    Replies: 1
    Last Post: 8 Jun 2012, 08:49 AM
  3. Replies: 1
    Last Post: 9 Sep 2009, 12:11 PM
  4. Adding an order numbers column to orders.php in admin
    By 524cw in forum Managing Customers and Orders
    Replies: 2
    Last Post: 2 Oct 2008, 07:53 PM
  5. can't view orders in admin
    By panqueconpasas in forum General Questions
    Replies: 2
    Last Post: 1 Oct 2007, 03:37 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