Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Has anyone ever added new fields into Create Account form?


avaya1

Recommended Posts

Posted

Hello, if anyone has ever added new fields into Create Account form (create_account.php file) please share your experience, especially if there any simple ways or contributions to do that. Thanks)

Posted

Yes - it's fairly simple. Just add them as input fields, make sure that they either write to the database (hence you need to have database fields as appropriate) or set up a session or whatever.

 

Once they are in the database you can then use the inputted stuff elsewhere...

 

So, just what are you trying to add/do?

Posted
Hello, if anyone has ever added new fields into Create Account form (create_account.php file) please share your experience, especially if there any simple ways or contributions to do that. Thanks)

The second address line (or something like that) contribution does that.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Posted
Yes - it's fairly simple. Just add them as input fields, make sure that they either write to the database (hence you need to have database fields as appropriate) or set up a session or whatever.

 

Once they are in the database you can then use the inputted stuff elsewhere...

 

So, just what are you trying to add/do?

 

I am trying to add something like Cell Phone number field into registration form)

 

I understand that I need to add new fields into the database table, but I also need to add some new fields into few PHP files, like: account_create.php, account.php, account_edit.php... and may be some else..

Posted

Try the customer extra fields contribution.

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

  • 3 weeks later...
Posted

for the cell phone number its easy. just replace the

 

define('ENTRY_FAX_NUMBER', 'Fax:'); with

define('ENTRY_FAX_NUMBER', 'Mobile:');

 

in english.php

 

But really has anybody added a field in create_account.php like say username

Archived

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

×
×
  • Create New...