Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2010
    Posts
    37
    Plugin Contributions
    0

    Default customer's order invoice purchase date -- can I add the time too?

    i was wondering if there'll be any advice offered for this help needed.

    at top-right corner of customer's order invoice, there's purchase date, instead of the date only, could it display the date and time together? if so, how?

    advice on this help needed is highly appreciated.

  2. #2
    Join Date
    Aug 2010
    Posts
    5
    Plugin Contributions
    0

    Default Re: customer's order invoice purchase date/time

    I would like to know this as well. Have searched the forum and found no answers.

  3. #3

    Default Re: customer's order invoice purchase date -- can I add the time too?

    This may not be the best way to do it but worked for me:

    /admin/includes/languages/english.php

    I changed:

    define('DATE_FORMAT_LONG', '%A %d %B, %Y');

    to:

    define('DATE_FORMAT_LONG', '%A %d %B, %Y, %I:%M %p');

    This will change order date to also display time on the orders page where zen_date_long is called. (This is good for my store because we do a lot of time-sensitive orders and time of order is important.)

    The same can be done on the catalog end to display the time in customer order history.

    PHP Time/Date format:
    http://php.net/manual/en/function.strftime.php

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: customer's order invoice purchase date -- can I add the time too?

    If you have any concern about where else this might show up, you can search in Tools > Developers Toolkit. Paste DATE_FORMAT_LONG in the lower left box, select all files - catalog and search. This will show you all files where that format is used.
    You might want to do the same for zen_date_long.

 

 

Similar Threads

  1. Replies: 0
    Last Post: 18 Sep 2013, 04:09 AM
  2. v139h Order date on Invoice is server date/time
    By Kenton in forum Managing Customers and Orders
    Replies: 3
    Last Post: 28 Feb 2012, 06:22 AM
  3. Can I add under the customer's account their order histor and order status??
    By flash01 in forum Customization from the Admin
    Replies: 8
    Last Post: 28 Nov 2010, 09:49 PM
  4. Replies: 3
    Last Post: 17 Oct 2006, 12:04 AM
  5. Can customer add comments to the order too?
    By styledata in forum Managing Customers and Orders
    Replies: 4
    Last Post: 27 Jun 2006, 04:55 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR