osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

Removing the required fields in account setup.

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-26-2004, 04:24 PM
New Member
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brucek
Default Removing the required fields in account setup.

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-29-2004, 01:42 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

You can 'turn off' gender & DOB in the admin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-29-2004, 01:49 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

More info

Log into your Admin
Go to - Configuration > Customer Details > Edit
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-30-2004, 01:18 PM
New Member
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brucek
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-31-2004, 12:58 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

Do the edit as above.
Save.
Refresh or reload to clear your browser cache.
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-31-2004, 12:34 PM
New Member
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brucek
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-31-2004, 07:31 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-31-2004, 11:39 PM
New Member
 
Join Date: Aug 2003
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
brucek
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 02-01-2004, 12:20 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 6
neil is on a distinguished road
Default


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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 12:42 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax