Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

how to add more fields to "My Account Information"


Guest

Recommended Posts

I want to add a few more fields to the account information (f.e.: firm name, tax number and mobile phone number). what do i have to do? Any changes in the database? I'm a newbie in mysql so any help is appreciated. Thanks

Link to comment
Share on other sites

I want to add a few more fields to the account information (f.e.: firm name, tax number and mobile phone number). what do i have to do? Any changes in the database? I'm a newbie in mysql so any help is appreciated. Thanks

 

You will need to add those fields to your database. You can use the exsisting code as an example to add them to the account process. You will also have to modify the admin side to retrieve those values for you invoice etc.

Link to comment
Share on other sites

this is quite a lot of coding to do, i am adding a lot of fields to the customer signup process, if you need any help, let me know, you need to not only add fields to the database, but edit quite a few files, i.e. includes/languages/english.php, create_account.php,create_account_process.php, create_account_success.php, account_edit.php, account_edit_process.php, includes/modules/account_details.php and form_check.js if you want the fields required, hopefully i didnt forget any, but i had to learn this on my own, hope this helps

 

 

Al

Link to comment
Share on other sites

this is quite a lot of coding to do

 

Tell me about it...just added a single field and wound up editing 13 catalog files and 4 admin files. All were simple edits...just a lot of them. :)

Link to comment
Share on other sites

If you could give me some more infos how to add these fields i'm very happy. I'm a php and MySQL newbie so i don't know what to do now. Could you subscribe me what to do exactly please?

Link to comment
Share on other sites

well, i was considering making a contabution on how to do this step by step, it is not terribly complex, just a lot of files to edit and looking at the current form as to how to do it, give me a few days to look at that and i will work on it as time allows

 

 

Al

Link to comment
Share on other sites

  • 1 year later...

Hellooo,

 

I know this thread is more than 1 year old.

 

But if there's anyone who's able to help with making such contribution, it'll be really nice!

Anyone?? :unsure:

 

Cheers.

Link to comment
Share on other sites

  • 6 months later...
Hellooo,

 

I know this thread is more than 1 year old.

 

But if there's anyone who's able to help with making such contribution, it'll be really nice!

Anyone??  :unsure:

 

Cheers.

If you are still around visit this:

 

http://www.oscommerce.com/forums/index.php?sho...04&hl=new+field

Irfan,

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...