This is a discussion on Removing the required fields in account setup. within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hello all, I was hoping someone can tell me what changes I need to make in order to remove some ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hello all, I was hoping someone can tell me what changes I need to make in order to remove some of the required fields, like Gender and DOB, that are in the account setup. It looks like the main file is english.php but I want to be sure not to screw up any java scripting. Can anyone Help!!! Thanks! |
|
#2
| ||||
| ||||
| You can 'turn off' gender & DOB in the admin |
|
#3
| ||||
| ||||
| More info Log into your Admin Go to - Configuration > Customer Details > Edit |
|
#4
| |||
| |||
| I checked both of these things that are mentioned above. I don't see a way to disable any of the items. To restate ...I'm trying to eliminate the required part of Gender and DOB during the account setup phase not after they are setup. Thanks |
|
#5
| ||||
| ||||
| Do the edit as above. Save. Gender and DOB won't be visible in the account set up. :P Check my shop - account set up. https://ssllocked.com/~w12webs/store...te_account.php Your Personal Details First Name: required Last Name: required E-Mail Address: required
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
|
#6
| |||
| |||
| Neil, Thanks for taking the time to respond.......however I have no category called Customer Details under Configuration. There is a Customers Category with subcategories of Customers and Orders but that is it. So I'm not able to do what you suggest. I'm running ver 2.2 CVS. Is this a contribution that has to be downloaded? You seem to know what I'm talking about so I how you have some further insight. P.S. I like your site. Thanks for any help! |
|
#7
| ||||
| ||||
| Ok, Open catalog/includes/application_top.php Always back up a file before you edit it. That way if you make a mess you can reload the original. Use a text editor. You are looking for the section: // Control what fields of the customer table are used define('ACCOUNT_GENDER', true); define('ACCOUNT_DOB', true); define('ACCOUNT_COMPANY', true); define('ACCOUNT_SUBURB', true); define('ACCOUNT_STATE', true); Change true to false for GENDER & DOB - shown in bold CHANGE to: // Control what fields of the customer table are used define('ACCOUNT_GENDER', false); define('ACCOUNT_DOB', false); define('ACCOUNT_COMPANY', true); define('ACCOUNT_SUBURB', true); define('ACCOUNT_STATE', true); Save & upload Refresh or reload
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
|
#8
| |||
| |||
| Neil, Thanks a ton Neil! ....... Just out of couriosity what version are you running where the Customer Details appears? I thought I was running a current version but I guess not. Even more confusing I double checked the online guide and it displays excatly what you were talking about and that's supposed to be the documentation for 2.2. Anyway thank you for the information .....I'd rather get more familiar with PHP anyway! P.S. I posted another message relating to this just ignore it! Chow! |
|
#9
| ||||
| ||||
| MAX 1.5 from here - oscdox.com on some current projects. 2.2 MS2 from oscommerce.com on other current projects. I also have old versions of 2.2 running some established stores & a version of 2.1. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to make cc.php fields required bu user | gregrr | osCMax v1.7 Discussion | 0 | 06-04-2005 04:00 AM |
| Create an Account - How to Re-Order Fields ? | Lobotaman | osCMax v1.7 Discussion | 2 | 04-11-2005 10:15 AM |
| Extra fields in Customer Account | cralyn | osCommerce 2.2 Modification Help | 6 | 01-26-2004 09:20 AM |
| adding required feilds to account | kamel | osCommerce 2.2 Modification Help | 2 | 01-17-2004 01:50 PM |
| Required Option at account creation | martva | osCommerce 2.2 Modification Help | 1 | 06-02-2003 02:35 AM |