Custom order number setup?
Hello,
I created a Zen cart store. Tested it by purchasing a product under a dummy account. I noticed the first order was order #1. I'm assuming this is a default that can be setup differently (set to a different default number in the Admin somehow?).
I have a routine of order numbers and a sequence I would like to setup. Can someone tell me if this is possible? And where/how?
My routine is setup like this.
0700056
2007... 56th order taken.
I'd like to be able to change the default each year so next year I can set it up as..
0800001
2008... 1st order taken.
And continue to do this each year to track sales per year by order number. However, I DO NOT want to reset my existing order numbers to reconfigure to the new default... JUST orders taken after its been set.
Anyone???? Help please???
Re: Custom order number setup?
Admin->Tools->Store Manager .... you can change the "next" order number there.
Re: Custom order number setup?
In a similar fasion, I'd like to add a couple of letters before the order numbers (to distinguish between orders from two shops on the same domain).
Order number: NS72
This is partly for accounting reasons (so the orders numbers dont overlap), and partly so that we dont have to ask the customer which shop they made the transaction through should there be a query.
I imagine the only solution is to go through the code and find anywhere the value is printed for display purposes and add the two letter suffix.
Perhaps there is somewhere central I can add the suffix. Does anyone know?
Many, many thanks for helping with this if you can!!!
FG
Re: Custom order number setup?
is it possible add letter to the order number, as say feelgood2k?
Re: Custom order number setup?
Uncustomized, the current version of Zen Cart does not allow non-numeric order numbers.
Re: Custom order number setup?
I've two website with zencart, and for me it's better to have two different order number: it's possible to add a number prefix (as 99- or only 99)?
Re: Custom order number setup?
If you're not expecting vast numbers of orders, you could start one shop's numbers at, say, 1000000 and the second shop's numbers at 2000000. That gives you one million sales in the first shop before its numbers bump into the second shop's numerical territory. At my rate of sales, that would do for about 30,000 years. :P
HTH
Rob
Re: Custom order number setup?
Quote:
Originally Posted by
rstevenson
If you're not expecting vast numbers of orders, you could start one shop's numbers at, say, 1000000 and the second shop's numbers at 2000000. That gives you one million sales in the first shop before its numbers bump into the second shop's numerical territory. At my rate of sales, that would do for about 30,000 years. :P
HTH
Rob
It's worth noting that unless you change the way the order numbers are stored in the database, the maximum allowed number is: 2,147,483,647.
Re: Custom order number setup?
2,147,483,647?
That's two billion some, and is not likely to hit the wall starting at two million.
Re: Custom order number setup?
2,147,483,647
I'm shocked. That's only 68 orders a second -- every second of every minute of every hour of every day for one year!
Surely we need a larger number. ;-)
Rob