Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I add a VAT number field in customer details ?


dca

Recommended Posts

Hello,

 

Need to add a field in the customer details.....the customer?s VAT number....this then also needs to apper in all the documents, invoie, packing slip etc.

 

Pls. help me with this important step.

 

Dhiren

Link to comment
Share on other sites

  • 2 months later...

This would require quite a few changes. You would have to add column to the customers table. Then edit all the pages that relate to the customers details.

Other great Open Source (Free) programs: (Free as in free speech not free beer)

The Gimp - An image program. | Firefox - All you have to do is add the Web Developer add-on to make this web browser complete. | FileZilla - An ftp program. | Inkscape - A good program to create images with. | Thunderbird - An email program. | Openoffice.org - An office suite that is compatible with MS Office. | Abiword - Another office suite. | Audacity - A sound recording tool. | ddp's Picks | Wordpress - An easy to use blogging software. | Joomla - An easy to use CMS that has ecommerce plug-ins. | Drupal - Another CMS

How do I find these programs? Google Search!

Link to comment
Share on other sites

This would require quite a few changes. You would have to add column to the customers table. Then edit all the pages that relate to the customers details.

 

so could you elaborate on this please?

 

i would like to add more than just one field/input to the customer info, actually quite a few fields!! LOL

 

thanks in advance for the help...

 

B)

Link to comment
Share on other sites

Adding the extra fields is actually quite easy I found. You need to add the extra fields into the customers table using your database admin program.

 

If you then go to the pages where you want to see the info appear i.e create account, the address will show you the php file that you need to edit. You can then add your extra fields to the queries and use the same format as is there already to add the extras.

 

The problem I am having is getting this info to appear in the invoice etc as they seem to reference the orders table rather than the customers (at some point the info is copied over but not sure where or how).

If you find out how to do this, then let me know!!

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...