Add field in Billing Address

Dec 15, 2009 at 9:14 AM
Edited Dec 15, 2009 at 9: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 http://nbstore.codeplex.com/Thread/View.aspx?ThreadId=60608

nothing is changed from june?



thanks

Rmartin

Coordinator
Dec 16, 2009 at 6:48 AM

Hi,

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

Dave.

 

Dec 16, 2009 at 12: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.....
3).....
4).....

Thanks Rmartin

Coordinator
Dec 17, 2009 at 7:22 AM

Hi,

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.

Regards,

Dave.

Dec 17, 2009 at 8: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?
Thanks
Rmartin

Coordinator
Dec 17, 2009 at 8:53 AM

Hi,

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

Regards,
Dave