If this is your first visit, check our documentation. To post, register or login.
Forums / Managing Customers and Orders / Changing the format of the order number

Changing the format of the order number

Locked

Started by gaekwad on 14 Jul 2007, 8:11 PM · Views: 2,107

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
14 Jul 2007, 8:11 PM
#1
gaekwad avatar

gaekwad

New Zenner

Join Date:
May 2007
Posts:
33
Plugin Contributions:
0

Changing the format of the order number

Apologies if I'm missing something obvious - is it possible to change the format of the order number? I'm looking for something like AB-11xxxx where xxxx is the incrementing order number.

Pointers appreciated -thanks very much in advance.

savshop.com - proudly run on Zen Cart with a code punk at the wheel.

14 Jul 2007, 10:16 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Changing the format of the order number

There ae several areas for order #'s , products, attributes, banners, etc...

you can can make them 1, 10, 100 or 1000 but not postive about alpha-numeric??

You can try it

Zen-Venom Get Bitten

14 Jul 2007, 10:48 PM
#3
ajeh avatar

ajeh

Oba-san

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

Re: Changing the format of the order number

The Sort Order fields are not displayed anywhere so numbers are used as they work without thought ...

Your request sounds like a products_model where the products model number is:
AB-110010
AB-110011
AB-110115
AB-110020
AB-110022
AB-110210
AB-112010

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

15 Jul 2007, 12:10 AM
#4
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,747
Plugin Contributions:
0

Re: Changing the format of the order number

Do you want the modified number stored with the pre-fix or only displayed that way?

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

15 Jul 2007, 10:32 AM
#5
gaekwad avatar

gaekwad

New Zenner

Join Date:
May 2007
Posts:
33
Plugin Contributions:
0

Re: Changing the format of the order number

It's not vital it follows that exact path - what I'm trying to avoid is a very low order number (it just screams 'small shop'), and rather than enter 1000+ bogus orders to artificially raise the order number, it'd be nice to either a) tweak the number in the db to make it larger without any effort or b) make the order number format different - in whatever way. If that makes sense.

savshop.com - proudly run on Zen Cart with a code punk at the wheel.

15 Jul 2007, 5:10 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Changing the format of the order number

Admin->Tools->Store Manager ... you'll see an option to change the starting number

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2007, 5:47 PM
#7
gaekwad avatar

gaekwad

New Zenner

Join Date:
May 2007
Posts:
33
Plugin Contributions:
0

Re: Changing the format of the order number

Wonderful - thanks, Dr B!

savshop.com - proudly run on Zen Cart with a code punk at the wheel.