Add field in Billing Address

Dec 15, 2009 at 10:14 AM
Edited Dec 15, 2009 at 10:21 AM

I need a new field for the procedure order, In italian is a Fiscal code.
The Italian fiscal code card, officially known as Italy's Codice Fiscale, is the tax code card in Italy and is used for the document added to the order.

it's possible add this field for example in the Billing Address ?
If yes what's the way?
Can i use another field and change the lable?

I have found this threed

nothing is changed from june?



Dec 16, 2009 at 7:48 AM


No, I'm afraid it's much the same answer as the thread you've already read.



Dec 16, 2009 at 1:25 PM

Hi Dave!
Thanks for your reply....

but can you suggest me some step for add a new field?

for example:
1) add the field in the [NB_Store_Address] table
2) Modify the function.....

Thanks Rmartin

Dec 17, 2009 at 8:22 AM


What you need to look at is to put the field on the checkout.ascx directly.  after that you need to change the Data Access layer for the order.   In this case I would tend to put your new "fiscale code" field on the orders table, I know this sounds a bit odd, because it's linked to the company (I guess?)...however the information is required for the order therefore the more suitable place I think would be the order.

Have a look at how the tax code field has been done and I think if you use that as an example you'll be OK.



Dec 17, 2009 at 9:00 AM

Hi dave!
No the fiscal code it's relative to each people and is used to b2c reality
For the people FISCAL CODE
For the compay VAT NUMBER

The FISCAL CODE doesen't have relation with the Order Tax it's only a code unique for each Italian People but is compoulsory for make an order!

Do you think is better to add it to the order?

Dec 17, 2009 at 9:53 AM


Yes, I think going on the order if definatly the way to go...the tax code is attached to the order, so you just need to copy what that does