Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    help question Adding Time to order confirmation

    Hi,

    I have installed version 1.5 of zencart. I am creating a online ordering shop for a takeaway business. I need to be able to put a time stamp within the order confirmation so the shop owner know when the order for food has been placed. Please can you advise how this can be done.

    Thanks, Martin

  2. #2
    Join Date
    Mar 2005
    Location
    Scotland
    Posts
    76
    Plugin Contributions
    0

    Default Re: Adding Time to order confirmation

    Quote Originally Posted by mkyle View Post
    Hi,

    I have installed version 1.5 of zencart. I am creating a online ordering shop for a takeaway business. I need to be able to put a time stamp within the order confirmation so the shop owner know when the order for food has been placed. Please can you advise how this can be done.

    Thanks, Martin
    Hi,

    managed to crack it by doing the below:

    /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

 

 

Similar Threads

  1. v151 Customer order confirmation time is incorrect in Admin
    By benxp in forum Managing Customers and Orders
    Replies: 5
    Last Post: 29 Jun 2014, 12:55 AM
  2. Correct time in ADMIN area, WRONG time on ORDER CONFIRMATION
    By Yoshi-M in forum General Questions
    Replies: 1
    Last Post: 16 Apr 2013, 07:44 PM
  3. Wrong date and time on order confirmation
    By paperthreads in forum General Questions
    Replies: 7
    Last Post: 3 Dec 2010, 02:04 AM
  4. Adding Information to Order Confirmation Email
    By solarguy in forum General Questions
    Replies: 1
    Last Post: 24 Nov 2010, 04:52 AM
  5. Adding a Field to the Order Confirmation
    By Will.hollaway in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 30 Jul 2008, 11:27 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