osCmax v2.5 User Manual
Results 1 to 9 of 9

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

      
  1. #1
    New Member
    Join Date
    Aug 2003
    Posts
    12
    Rep Power
    0


    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!

  2. #2
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    You can 'turn off' gender & DOB in the admin
    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

  3. #3
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    More info

    Log into your Admin
    Go to - Configuration > Customer Details > Edit
    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

  4. #4
    New Member
    Join Date
    Aug 2003
    Posts
    12
    Rep Power
    0


    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

  5. #5
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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

  6. #6
    New Member
    Join Date
    Aug 2003
    Posts
    12
    Rep Power
    0


    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!

  7. #7
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    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

  8. #8
    New Member
    Join Date
    Aug 2003
    Posts
    12
    Rep Power
    0


    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!

  9. #9
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


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

Similar Threads

  1. How to make cc.php fields required bu user
    By gregrr in forum osCmax v1.7 Discussion
    Replies: 0
    Last Post: 06-04-2005, 04:00 AM
  2. Create an Account - How to Re-Order Fields ?
    By Lobotaman in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 04-11-2005, 10:15 AM
  3. Extra fields in Customer Account
    By cralyn in forum osCommerce 2.2 Modification Help
    Replies: 6
    Last Post: 01-26-2004, 08:20 AM
  4. adding required feilds to account
    By kamel in forum osCommerce 2.2 Modification Help
    Replies: 2
    Last Post: 01-17-2004, 12:50 PM
  5. Required Option at account creation
    By martva in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 06-02-2003, 02:35 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •