Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Date and Time


ptrau

Recommended Posts

I searched the boards prior to this post.

 

I am running ver. 2.2ms2

 

I would like to add the date and time an order was placed to my "print order" function. Is there a simple (or not so simple) way to do this? I added the code from the footer.php but realized that it returns the CURRENT time and not the time the order was placed.

 

I see that the info I need is stored in the table "orders" and field "date purchased" but haven't a clue how to call it.

 

As always, any ideas would be greatly appreciated.

 

gogoGrocery.com

"Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!"

Link to comment
Share on other sites

  • 4 months later...
I know there is a contribution that adds the date as a prefix tot he order number.  I poked around quickly for it but could not find it.

It is this contribution: Order_Number_Prefixe

Everything can be fixed in admin section: add a prefix or not, the format of the prefix (date format).

JeanLuc

OsC: MS2

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...