Zen Cart Logo
Forums / General Questions / How do I Add a Prefix to the Order Number

How do I Add a Prefix to the Order Number

Locked

Views: 1,589

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
11 May 2008, 7:17 PM
#1
griff1324 avatar

griff1324

New Zenner

Join Date:
Feb 2008
Posts:
48
Plugin Contributions:
0

How do I Add a Prefix to the Order Number

I will be starting multiple websites to sell products. However all of the billing and invoicing will be done under my main company name. I would like to add a prefix of two letters to all order ids. This way I can eliminate duplicate order numbers for accounting purposes and know where each order came from.

Any ideas how to do this?

Thanks,

Chris

12 May 2008, 1:17 AM
#3
griff1324 avatar

griff1324

New Zenner

Join Date:
Feb 2008
Posts:
48
Plugin Contributions:
0

Re: How do I Add a Prefix to the Order Number

I followed those instructions and replaced all of the "Order #" with "Order DC". However, when I update an order (say from Processing to Complete) the email that is sent to the user states that their has been an update to their order #100 and not order #DC100.

Also when I go into my test account, if I look at the overview of my previous orders, it lists Order #100 and not DC100. However, if I go into the order details then it states "Order Information - Order #DC100".

If I am in the Admin panel and go to my orders and click on Invoice, it states that the Invoice is No. 100 and not DC100. The same is the case for Packing Slips.

Is it possible to get all references of an order to have DC before the actual order number?

Thanks,

Chris