Zen Cart Logo
Forums / General Questions / Adding a custom Invoice Ref # to an order

Adding a custom Invoice Ref # to an order

Views: 505

Results 1 to 2 of 2
7 Aug 2014, 5:21 PM
#1
doveman avatar

doveman

New Zenner

Join Date:
May 2014
Location:
Spokane Washington
Posts:
13
Plugin Contributions:
0

Adding a custom Invoice Ref # to an order

I need to add a custom invoice number to my orders in addition to the order ID. I have already modified the order table but for the life of me I can not figure out where to place the code for inserting the invoice number. The field in the table is indexed.

Can you advise me as to where I would want this modification?

Thanks

14 Aug 2014, 9:48 AM
#2
wrickspam avatar

wrickspam

New Zenner

Join Date:
Dec 2011
Location:
Emmen, The Netherlands
Posts:
85
Plugin Contributions:
0

Re: Adding a custom Invoice Ref # to an order

Where do you want it to appear? on what page?

Where do you want to add the custom id ? or should it happen automatic ?

This shouldnt be to hard to realise, if you can explain my two questions i might be able to hack together some stuff which do this for you (so not a module or a plugin but just some down and dirty php code that does the job)

I have done some of this before (for a custom model etc. etc.) i have a tutorial up on my website how to do that

you can send me a pm so i can take a look when i have time for this...