How can I do this? I want either to have a set prefix for every order number, or a random invoice number for every order. Is this possible? I looked all over for this and couldn't find a solution.. Thanks!
Printable View
How can I do this? I want either to have a set prefix for every order number, or a random invoice number for every order. Is this possible? I looked all over for this and couldn't find a solution.. Thanks!
If you want to create random number, it's possible, but then you will have to change the code.
Why do you want to do that?
You can change your starting order number, say from 10000.
Think about this, if you want to randomize the order number then you will have to check if that new number is already in the database, and create a new one if it's already there.
It may look more pro (I dont know why it's pro that way tho), but it will involve a lot of "hacks" into the core codes. That's all I can say. Remember, if you make a mistake, it may screw up your customer's orders.
Admin panel --
Tools --> Store Manager.
Reset your starting order number to whatever you want.
Don't know where you're from, but if you're in the US and you're ever audited by the IRS, they'll frown on "random" invoice numbers and put you through the wringer.
HTH,