ptrau Posted February 13, 2004 Share Posted February 13, 2004 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 More sharing options...
1quicksi Posted February 13, 2004 Share Posted February 13, 2004 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. Not sure about the time but I would guess the variable would just need to be added. knowledge base | Contributions | Search Link to comment Share on other sites More sharing options...
ptrau Posted February 13, 2004 Author Share Posted February 13, 2004 We add our own prefix. Need the date and time because we guarantee delivery time. Thanks anyhow... "Aliiiiive, it's alive, it's ALIIIIIIIIIIIIIVE!!!" Link to comment Share on other sites More sharing options...
JeanLuc Posted July 9, 2004 Share Posted July 9, 2004 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.