Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Letters In Invoice Number


Load-This

Recommended Posts

Posted

Hey Peoples,

 

I was wondering if anyone knew how to insert 2 letters before the invoice number.

 

example, i have invoice number 8 and 9 ... i want them to be OS8 and OS9 and so on.

 

Anybody :)

 

Thanks Muchly

Posted

I guess I'm not totally understanding where it is that you are accessing the invoice. Do you know which file it is in the admin folder?

Posted

What do you mean?

 

I want to change how the invoice numbers are generated all together .. instead of just being 8 i want it to be OS8 and so on

Posted
blap blap

 

The invoice numbers are set to auto-increment in the database so you'll only get numbers out of it.

 

If the letters prepended are always the same you could monkey the display around to show OS11111 while 11111 would still be the entry in the database.

 

Other than that I'm afraid you'd have to write some routines to insert the format you'd like and it probably wouldn't be a ton of fun to do and would require a fair amount of tinkering.

 

Hope that's sort of helpful,

Iggy

Everything's funny but nothing's a joke...

Archived

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

×
×
  • Create New...