Page 5 of 6 FirstFirst ... 3456 LastLast
Results 41 to 50 of 59
  1. #41
    Join Date
    Oct 2006
    Posts
    25
    Plugin Contributions
    0

    Default Re: How can I Make certain Customer Registration fields optional?

    But how to disable showing gender (mr. / ms.) selection? I can't find that anywhere and really want to take it away.

  2. #42

    Default Re: How can I Make certain Customer Registration fields optional?

    Quote Originally Posted by Ajeh View Post
    You could also do this by just changing the settings in the Minimum Values for the Telephone number or Post Code to blank, not 0, but blank as in edit and make the input box blank and hit update ...

    Then, change the language file for the Required for the field(s) to be '' vs '*' and you will not see the red asterisk ...
    Hi Ajey:

    I realize that this is an old post, but hope you can help me out here.

    The only change that I want to make to my site right now is have it so that the telephone number is not a required field. I followed the first half of your advice, the easy part by chaning the minimum field for the phone number to blank.

    It's the second part that I'm not quite understanding. If I go into my languages folder...what file am I looking for with the phone number in it? I still very inexperience so I don't want to play with things that I shouldn't be touching. Could you please give me a little more direction for changing the required field and getting rid of the red * on the phone number.

    All of my products are downloadable so I don't see the need for the phone number.

    Thanks so much.
    [FONT=Georgia]Micki[/FONT]
    [FONT=Lucida Sans Unicode]Paradise Embroidery Designs[/FONT]

  3. #43

    Default Re: How can I Make certain Customer Registration fields optional?

    Quote Originally Posted by -M- View Post
    But how to disable showing gender (mr. / ms.) selection? I can't find that anywhere and really want to take it away.
    From one new Zenner to another. I just did this tonight. You go into your store , click on "Configuration" , then click on "Customer Details". The very first line will say "Email Salutation" change that value to "false". I did this and it removed the Mr and Ms option.

    Worked for me, I hope it does for you to.
    [FONT=Georgia]Micki[/FONT]
    [FONT=Lucida Sans Unicode]Paradise Embroidery Designs[/FONT]

  4. #44
    Join Date
    Jan 2010
    Location
    Devon, UK
    Posts
    7
    Plugin Contributions
    0

    Default Re: How can I Make certain Customer Registration fields optional?

    Hi Micki

    May I respectfully refer you to the post I made earlier

    http://www.zen-cart.com/forum/showpo...4&postcount=35

    This contains detailed instructions on how to slimline the process. I also deal only in download products, hence the steamlined process.

    Hope it helps. Yell if you need any further help

  5. #45

    Default Re: How can I Make certain Customer Registration fields optional?

    Quote Originally Posted by resellrightsshop View Post
    Hi Micki

    May I respectfully refer you to the post I made earlier

    http://www.zen-cart.com/forum/showpo...4&postcount=35

    This contains detailed instructions on how to slimline the process. I also deal only in download products, hence the steamlined process.

    Hope it helps. Yell if you need any further help
    Thanks John for referring me to you earlier post. I will read through it thoroughly and try to make some changes.

    The only thing that I really want to accomplish is making the phone number optional instead of mandatory. I think that I've done that, but have to get rid of the "*".
    [FONT=Georgia]Micki[/FONT]
    [FONT=Lucida Sans Unicode]Paradise Embroidery Designs[/FONT]

  6. #46
    Join Date
    Jan 2010
    Location
    Devon, UK
    Posts
    7
    Plugin Contributions
    0

    Default Re: How can I Make certain Customer Registration fields optional?

    Hi Micki

    This is the file you need to edit. Make sure you have made a template file (your_template).......

    your domain name/shop directory (if required)/includes/languages/YOURTEMPLATE/english.php

    define('ENTRY_TELEPHONE_NUMBER_TEXT', '*'); Remove * (removes the required *)

    Remove the star (i.e. delete it) but ensure you keep the two apostrophe's otherwise you will get errors or a page no load.

    It was around line 242 in the english.php file.

    Hope this helps

    John

  7. #47
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: How can I Make certain Customer Registration fields optional?

    I am having the exact opposite problem, the telephone info field is no longer on my login/create account page. I have looked through all of the files and can't seem to find what is wrong.
    any idea?

  8. #48
    Join Date
    Oct 2011
    Posts
    36
    Plugin Contributions
    0

    red flag Re: How can I Make certain Customer Registration fields optional?

    Quote Originally Posted by savage View Post
    OK after much prodding and trial and error, I have found that the following files need to be changed to hide any mandatory fields...

    modules/[your mod]/create_account.php
    modules/pages/create_account/jscript_form_check.php
    templates/[your mod]/templates/tpl_modules_create_account.php

    Now on our site, only the Salutation, First & Last Name, Email Address and Password are mandatory and are the only fields that appear.

    It would be nice to have all these fields turn-off and onable via the admin screens.
    Also it would be nice if modules/pages/ and the various sub-directories also adhered to the excellent mod override features as the only way I could fix the Javascript validation was to change the default file directly, which is not ideal, considering a new version of Zen-Cart has just been released.

    I hope this helps someone else.
    This helped me a lot in solving my issue.... Thanks a lot...

  9. #49
    Join Date
    Oct 2011
    Posts
    36
    Plugin Contributions
    0

    Default Re: How can I Make certain Customer Registration fields optional?

    Quote Originally Posted by aditya369 View Post
    This helped me a lot in solving my issue.... Thanks a lot...
    If someone wants to skip few registration fields like Address, City, State, Zip code and Country at the time of registration, then there will be a problem at the time of checkout process. So you need to take care of that part by customizing the code at the time of checkout process. I have followed the below steps.

    add the following code in "includes/templates/[YOUR TEMP]/templates/tpl_checkout_shipping_default.php" and in

    "includes/templates/[YOUR TEMP]/templates/tpl_checkout_payment_default.php"

    in tpl_checkout_payment_default.php file, replace $_SESSION['sendto'] with $_SESSION['billto']


    <!-- Custome code to validate the address -->
    <?php
    $host = DB_SERVER;
    $dbun = DB_SERVER_USERNAME;
    $dbpwd = DB_SERVER_PASSWORD;
    $dbsel = DB_DATABASE;

    $os_conn = mysql_connect($host,$dbun,$dbpwd);
    mysql_select_db($dbsel);
    $os_qry = mysql_query("SELECT * FROM zen_address_book WHERE address_book_id = '". $_SESSION['sendto']."'");

    while($os_row = mysql_fetch_array($os_qry)){
    $os_street_address = $os_row['entry_street_address'];
    $os_city = $os_row['entry_city'];
    $os_state = $os_row['entry_state'];
    $os_country_id = $os_row['entry_country_id'];
    }
    mysql_close($os_conn);
    //if( ($os_street_address !='') && ($os_city !='') && ($os_state !='') && ($os_country_id !='')){}else{
    if($os_street_address !=''){}else{
    $os_error = 'Please change the Shipping address';
    ?>
    <!--<script type="text/javascript">
    alert("Please change the Shipping address");
    </script>;-->
    <?php
    echo '<span style="color: #CC0200; font-size: 15px; font-weight: bold; margin: 0 0 0 210px; text-align: center;">'.$os_error.'</span>';
    }

    ?>
    <!-- Custome code to validate the address Ends -->

  10. #50
    Join Date
    Sep 2009
    Posts
    13
    Plugin Contributions
    0

    Default Re: How can I Make certain Customer Registration fields optional?

    Quote Originally Posted by helpme View Post
    I am having the exact opposite problem, the telephone info field is no longer on my login/create account page. I have looked through all of the files and can't seem to find what is wrong.
    any idea?

    I noticed that If my customers use the express Paypal Checkout shortcut they don't have to fill in the phone number details. You can turn this shortcut off in the payment module for Express Checkout if you want to always require the phone number.

 

 
Page 5 of 6 FirstFirst ... 3456 LastLast

Similar Threads

  1. v150 How to make registration Salutation field optional?
    By scott_ease in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Jul 2016, 03:11 AM
  2. making customer registration optional
    By nicubila in forum Managing Customers and Orders
    Replies: 1
    Last Post: 12 Aug 2009, 12:13 PM
  3. How can I make certain create-account fields NOT required?
    By spiralmedia in forum Managing Customers and Orders
    Replies: 4
    Last Post: 9 Mar 2009, 08:45 PM
  4. 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