Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Randomize Order Numbers?


flitcher

Recommended Posts

Anyway to randomize each order so that it is not incrementing? I found one contribution, but it was last updated on 4/13/2003 so it does not apply to MS2. I also did a search but came up empty handed.

 

Someone has to have coded one or atleast found one. Anyone?

Link to comment
Share on other sites

This is a very small change - should be no problem using this in ANY version. There is ONLY 1 file that needs added code all other changes are straight forward and very general.

 

It should work with MS2.

 

Good Luck

Link to comment
Share on other sites

http://www.oscommerce.com/forums/index.php?showtopic=24630

 

Note: what jpf said is true, so long as you don't add letters into the order number. If you add letters, you would be better off adding a new field and displaying that where appropriate. Otherwise, you have to change every call that assumes that the order number will be an int.

 

Hth,

Matt

What I am saying (and from what I looked at) this contribution ONLY give a step by step change and is very general - should work with nearly any version.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...