Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Creating a Custom Order Number?


Sethman

Recommended Posts

Hello,

 

Is it possible to create a custom order number? For example, I just want to add a few letters to the beginning of my order numbers:

 

Order #SHT-109

 

That seems like it should be simple enough, but I am not sure if I can do it without changing a TON of stuff. Is there a simple solution?

Link to comment
Share on other sites

Hello,

 

Is it possible to create a custom order number? For example, I just want to add a few letters to the beginning of my order numbers:

 

Order #SHT-109

 

That seems like it should be simple enough, but I am not sure if I can do it without changing a TON of stuff. Is there a simple solution?

Do you just want to show these order numbers this way or store them like that? You could just have php append those 4 characters instead of storing it within MySQL.

Link to comment
Share on other sites

I actually found all of the places I needed to modify. I just wanted to display it that way, so I changed the display in the customer account, the admin, as well as what is emailed to the customer. Storing it would have been much more difficult.

 

Does anyone know if you can pass Google Checkout a custom order number in the same manner? I just want to add SHT to the front of it somehow, I don't care what the remaining numbers are.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...