Community Add-Ons

Maintainers: daddyroy
Add file to this package
Top » Features

Unique Order Number
for osCommerce Online Merchant v2.2

This contribution will create a unique Order Number, which is basically based on php's date() function.

The order number will consist of: Month, Year, Hour, Minute, Second. Basically:

date("mdYHis") = mmddyyyyhhmmss (14 DIGITS)

You could abreviate the Year to "y" which will give mmddyyhhmmss (12 DIGITS)


** These are unique numbers that cannot be duplicated since time always goes forward. In addition, based on the order number, you can tell exactly when the order was placed!**

Legend:  Download   Report
Expand All / Collapse All
1.04 scanditan 18 Mar 2009  

Richards addition on the 19th November was missing one very important file edit, namely catalog/checkout_process.php. This is such a simple (but very useful) contribution that it's smoother to have the changes listed in a text file, so im uploading a text file with the install instructions.

I am also including a change I have made to one of the admin files, so that the order number is displayed correctly on the order links on the admin front end.

Unique Order Number - optional: Googlecheckout addon foodawgmi 3 Dec 2008  
Unique Order Number v1.03 - FULL PACKAGE & Bug Fix Richard Cranium 19 Nov 2008  
Combination Package with Order Editor and Manual Order Maker Richard Cranium 16 Nov 2008  
Unique Order Number v1.03 Richard Cranium 2 Nov 2008  
Unique Order Number v1.02 Richard Cranium 2 Nov 2008  
Unique Order Number - Full Fix panter79 23 Mar 2008  
Unique Order Number daddyroy 14 Dec 2006