Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Customization from the Admin / Can I add a letter as part of an order number?

Can I add a letter as part of an order number?

Locked

Started by honeysclerose on 1 Jan 2008, 3:07 AM · Views: 3,841

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
1 Jan 2008, 3:07 AM
#1
honeysclerose avatar

honeysclerose

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Post #1 by honeysclerose

I have three zencarts...
Retail
Dropship
Wholesale

As of Jan 1, 2008 I will be changing the invoice numbers for all three carts.

Question:

Can I add a letter as part of the invoice number???

Example:
R2008100
D2008100
W2008100

I have found where I can change the order number and attempted to do so via the above but it didnt seem to do anything and was wondering if it was because I added a letter.

1 Jan 2008, 3:33 AM
#2
ajeh avatar

ajeh

Oba-san

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

Post #2 by ajeh

The Order number or orders_id is numeric and sequential ...

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!

1 Jan 2008, 10:10 AM
#3
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Post #3 by gjh42

You could set the order numbers like

12008100
22008100
32008100

Not "meaningful", but distinct and something that you (who are the only person who really matters here) will learn to automatically associate them correctly.

1 Jan 2008, 4:09 PM
#4
honeysclerose avatar

honeysclerose

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Post #4 by honeysclerose

Thanks Glenn..
I thought I would have to resort to something like that!

1 Jan 2008, 4:18 PM
#5
honeysclerose avatar

honeysclerose

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Post #5 by honeysclerose

crud....
I dont get it...
its still not working

I created a test order....its order number is 54
so I log into admin/tools/manager
and under Reset current order id-old order id I put 54
then under new order id I put 1200810
then I click the reset button

I did another test order and it came up order id 55

what am I not doing?

1 Jan 2008, 4:29 PM
#6
ajeh avatar

ajeh

Oba-san

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

Post #6 by ajeh

I have no problem setting this using the same method ... Tools ... Store Manager ... Reset Current Order ID

Entered the last orders_id that was made then entered the new value ...

Could you check your database structure via phpMyAdmin and look at the structure of the orders table and make sure orders_id is set to auto_increment in the Extra column?

Also peek at your two configure.php files in:
/includes/configure.php
/admin/includes/configure.php

and ensure both are using the same paths and database name, username and password ...

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!

1 Jan 2008, 5:08 PM
#7
honeysclerose avatar

honeysclerose

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Post #7 by honeysclerose

Thanks Linda...
I think what you are asking is over my head and I will have someone take a look.
Thanks!

6 Jan 2008, 12:25 PM
#8
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Post #8 by superprg

Is this taken care of?

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

7 Jan 2008, 8:57 PM
#9
honeysclerose avatar

honeysclerose

New Zenner

Join Date:
Jan 2006
Posts:
37
Plugin Contributions:
0

Post #9 by honeysclerose

Apparently I was not doing something right in my retail cart.
My web person was able to change the invoice number to the one I wanted (no letters, just numbers)....so I guess I didnt know what I was doing!

Due to the configuration of my past web person the dropship and wholesale sites will have to wait for an upgrade before I can mess with the invoice numbers.

3 May 2008, 1:33 AM
#10
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Post #10 by stevefriedman71

As for the invoicenumber and letters... i kinda have the same issue.
My thinking, wouldn't it be possible to "hardcode" the letter or word right before the order number?

something like from "[ordernumbercoding]" to
{echo "letter or word"[ordernumbercoding]}?
that would help immensly.

If i do the numbers version... (1200463;2200463 etc) per store will cause trouble in the future... not very soon the higher the number though. but the word/letter is also the way we keep the books.