Results 1 to 5 of 5
  1. #1
    Join Date
    Nov 2007
    Posts
    99
    Plugin Contributions
    0

    Default Making Telephone Number Optional while registration

    Can someone pls tell me how to make the "Telephone" optional when the customer s register?

    I am using Zencart v1.3.7.1

    (I tried searching the forum but couldnt find an exact and specific answer)

    Rgds,
    Harshil

  2. #2
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Making Telephone Number Optional while registration

    Hi,

    There are a few posts which touch on this and also tell you how to make other fields optional. I will try and explain how to make 'Telephone Number optional' as it seems to come up quite often and will leave a one stop solution for this.

    First, in the admin area of your site, go to Configuration -> Minimum Values. Here you will be able to change the default for Telephone Number from 3 to 0, hence making it optional.

    Now to tidy this up, you need to manually remove the '*' from the account creation page. To do this, you need to ammend the following file:

    includes/languages/english.php

    You will see the following entry:

    PHP Code:
    define('ENTRY_TELEPHONE_NUMBER_TEXT''*'); 
    and replace with:

    PHP Code:
    define('ENTRY_TELEPHONE_NUMBER_TEXT'' '); 
    That should then be Job Done!

    I hope this helps
    Jamie @ Fuzion

    www.InkFuzion.co.uk
    www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)

  3. #3
    Join Date
    Nov 2007
    Posts
    99
    Plugin Contributions
    0

    Default Re: Making Telephone Number Optional while registration

    Quote Originally Posted by Fuzion View Post
    Hi,

    There are a few posts which touch on this and also tell you how to make other fields optional. I will try and explain how to make 'Telephone Number optional' as it seems to come up quite often and will leave a one stop solution for this.

    First, in the admin area of your site, go to Configuration -> Minimum Values. Here you will be able to change the default for Telephone Number from 3 to 0, hence making it optional.

    Now to tidy this up, you need to manually remove the '*' from the account creation page. To do this, you need to ammend the following file:

    includes/languages/english.php

    You will see the following entry:

    PHP Code:
    define('ENTRY_TELEPHONE_NUMBER_TEXT''*'); 
    and replace with:

    PHP Code:
    define('ENTRY_TELEPHONE_NUMBER_TEXT'' '); 
    That should then be Job Done!

    I hope this helps
    Worked out great! Thanks :)

  4. #4
    Join Date
    Mar 2008
    Posts
    16
    Plugin Contributions
    0

    Default Re: Making Telephone Number Optional while registration

    Quote Originally Posted by starruby View Post
    Worked out great! Thanks :)
    Hi,
    Sorry to bring up an oldie. But is it posible to make it remove the red * on the registration fourm?
    Cheers

  5. #5
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: Making Telephone Number Optional while registration

    Quote Originally Posted by nickbowers View Post
    Hi,
    Sorry to bring up an oldie. But is it posible to make it remove the red * on the registration fourm?
    Cheers
    For what field?

    I hope no one's actually editing includes/languages/english.php. You'll lose all your changes with the next upgrade/update. You should be editing includes/languages/YOUR_TEMPLATE/english.php.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 

Similar Threads

  1. v154 Making Telephone number a compulsory field
    By aovc in forum General Questions
    Replies: 20
    Last Post: 17 Jul 2022, 01:31 PM
  2. Replies: 2
    Last Post: 15 Aug 2011, 11:46 PM
  3. Telephone number is lost during customer registration.
    By flyingpenguin in forum General Questions
    Replies: 5
    Last Post: 14 Aug 2009, 08:01 AM
  4. making customer registration optional
    By nicubila in forum Managing Customers and Orders
    Replies: 1
    Last Post: 12 Aug 2009, 12:13 PM
  5. Making registration fields optional
    By nickbowers in forum Managing Customers and Orders
    Replies: 3
    Last Post: 16 Mar 2008, 02:34 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR