Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding Extra Address Field


DawnG

Recommended Posts

I'm not quite sure how to go about this, I need an extra address field for customers to enter their State or County. What is the best way of going about that

You need an extra address field on top of the already existing state/county field ? Examine the create_account.php file thoroughly to see how it is done for the existing ones. You would have to add a new field to the database and also change some more within the admin area to make sure the extra field is used there also !

 

Edit: almost forgot, there is also this which might be helpful.

Link to comment
Share on other sites

You need an extra address field on top of the already existing state/county field ? Examine the create_account.php file thoroughly to see how it is done for the existing ones. You would have to add a new field to the database and also change some more within the admin area to make sure the extra field is used there also !

 

Edit: almost forgot, there is also this which might be helpful.

 

Thanks for the tip, the problem I have I suppose is not being able to see the State/County on the invoice

 

E.g.

 

Mr Smith

#### highland ave

glenshaw, 15116

United States

Link to comment
Share on other sites

Thanks for the tip, the problem I have I suppose is not being able to see the State/County on the invoice

Hello Dawn,

 

This you have to explain ?! When filled in the State/County information is shown/printed with the invoice and packing slip by default. Maybe you have a contribution in place which has this altered ?

 

Howard

Link to comment
Share on other sites

Hello Dawn,

 

This you have to explain ?! When filled in the State/County information is shown/printed with the invoice and packing slip by default. Maybe you have a contribution in place which has this altered ?

 

Howard

 

Thanks for the tip, I'll go and investigate

Link to comment
Share on other sites

I haven't made any changes to the Create Account file, could you point me in the direction of the other files to look at.

Is the requirement to fill in state/county information activated for your shop (under admin->configuration->customer details) ? If those are true and filled in when someone creates an account it should show within the address information of your invoices and packing slips. If not maybe there have been alteration to the admin/invoice.php an/or admin/packingslip.php ?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...