close ad
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


How can I have "ordered date" on confirmation email for eCart?

Thread began 8/09/2010 8:48 am by rikaG_510 | Last modified 8/09/2010 1:39 pm by Eric Mittman | 800 views | 1 replies |


How can I have "ordered date" on confirmation email for eCart?


I just wonder, how can I have "Ordered Date" on confirmation email?
In the "order table" in my MySQL database, I have a column of "OrderDate".
Possibly I'd like that to show up in confirmation email.

Thank you for your help!

Sign in to reply to this post

Eric Mittman

There are a couple of ways you can do this. If you would just like to add in the current date this would be the simplest thing to do. You could add in the current date in php using a timestamp and the date function to format it like this:

<?php echo date("your date format string"time()) ?>

Here is the link to the date function page on php if you are interested in doing it this way:

If you would like to get this value from your db you will need to add a recordset to the email page and filter it on the session variable that holds your order id. This variable is part of the 'store order summary' server behavior that is normally on the confirm page. With a recordset that is filtered on this value you could make use of the bindings to add in information about the order to the email including the date value that is held in the table.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...