Zen Cart Logo
Forums / General Questions / Can I prefix order numbers? Ex. sitename1234,

Can I prefix order numbers? Ex. sitename1234,

Locked

Views: 1,876

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
2 Jul 2006, 10:31 PM
#1
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Can I prefix order numbers? Ex. sitename1234,

I have set up three ZC stores, I was wondering if I can prefix the order numbers, like [sitename][ordernumber]
Is this possible?

Thanks.

3 Jul 2006, 3:50 PM
#2
absolute avatar

absolute

Totally Zenned

Join Date:
May 2005
Location:
Bath, Somerset
Posts:
1,054
Plugin Contributions:
2

Re: Can I prefix order numbers? Ex. sitename1234,

The order ids are stored in the database as intergers, which unfortunately means that they have to be numbers, and so contain no alpha characters.

You could alter your emails so that they add the name to the order number, but you'll have to do this for each email, rather than 1 global setting.

Absolute

3 Jul 2006, 3:55 PM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Can I prefix order numbers? Ex. sitename1234,

You could also set your order numbers to:

Store 1 1000

Store 2 200000

Store 3 300000

Then the order numbers will not overlap for a 100,000 orders :smile:

4 Jul 2006, 10:30 PM
#4
tj1 avatar

tj1

Totally Zenned

Join Date:
Mar 2005
Location:
California
Posts:
628
Plugin Contributions:
0

Re: Can I prefix order numbers? Ex. sitename1234,

Thank you for the info and the suggestions. :)