Making The Telephone Not Required on Signup

Date May 9, 2007

There is a place and a time for asking for phone numbers. There are valid reasons to (and many sites ask). However, with all the privacy issues and concerns these days, unless mandatory (for reasons other then “I just want it in case”), I recommend leaving the telephone either off the form completely, or at the very least, make it NOT a required field.

Having said that, one draw back of Zen Cart was the inability (in an easy “admin interface”) to turn the phone number on or off, make it required or not. To test the difference in asking for it or not, and analyzing how it affected conversion rates, I determined that it all depends on the type of product you are selling, and to who you are selling it to whether or not you should ask for a telephone number.

As suspected, when the phone number was left out completely, conversion rose. Ok, so let’s cut to it. I created a free zen cart plug-in module that allows you to make the phone number a required field, not required field, or completely remove it from the checkout process — all from within the Administrative backend. This currently only works with 1.3.6 and has not yet been tested on anything higher (or lower).

If you have tested it, I’d like your feedback as to what platform versions it is compatible with in addition to 1.3.6. Post your finding here if you would.

Details of the Zen Cart Module are below:

This module enables you, from within the Admin, to show or hide the Telephone Number from the “sign-up” (Account Creation) form.

It also enables you to make the telephone NOT a required field from within the Admin.

NOTE: This is specific to v1.3.6

Download it here Hide Telephone Number On Sign-up / Checkout

Share This Article With Others! These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Technorati
  • StumbleUpon
  • Sphinn
  • DZone
  • BlinkList
  • Reddit
  • Slashdot
  • SphereIt
  Don't miss a single tip! Subscribe to my RSS feed.

Related Posts

  • Downloads
  • NOW AVAILABLE: Zen Cart 20 Ways Template Conversion Pack
  • How to Use Attributes Quantity Price Discounts Field in Zen Cart


  • 16 Responses to “Making The Telephone Not Required on Signup”

    1. packratmag.com said:

      Thank you very much for the tip. Works on my 1.3.7 shop. I would suggest that there is a caveat written in the install directions regarding mysql syntax regarding Zen Cart. Turns out it is very picky, and when I ran the file you packed, I was given an error. I read some sources online, and then decided to cut and paste and break up the commands onto seperate lines as suggested on the Zen Cart site. I know little about mysql, so I imagine this information will help make your patch usable to a wider audience.

      See: http://www.zen-cart.com/wiki/index.php/Troubleshooting_-_SQL_Patches

      Thanks again!

    2. econcepts said:

      Glad you liked it.

      Also, thanks for pointing that SQL fact out. Of the hundreds of downloads so far, I haven’t had anyone report that issue so until now I was not aware of it. Again, thanks for the info. Hopefully it helps others that may have the same issue with previous code versions.

      So, just to clarify, you have it running successfully on a 1.3.7 shop right? It should work on all, but I only tested it on a 1.3.5 / 6 version. (Not too much different from 1.3.7).

    3. packratmag.com said:

      I suppose I thought I had it working. I gave my registration a run through with a fake user and the telephone option off. When I filled in the information, with no telephone field visible thanks to your code, I get this error when I submit: Your Telephone Number must contain a minimum of 3 characters. Any thoughts? I am running 1.3.7.

      Thanks for your time.

    4. econcepts said:

      You may have forgot one step.

      Did you go to Configuration > Minimum Values and set “Telephone” equal to “BLANK” (as in nothing). If that is set to “3″ (or anything other than “blank”) then the system will by default still see it as a “required field” (based on minimum values).

      Let me know if that helps.

    5. eartherotics.com said:

      Hello. We have your patch installed on 1.3.7. It now allows us to turn the phone number ‘on or off’ from the admin but whenever the phone number field is turned on (and showing), it still has the red “required” asterisk next to it. I have tried to set the minimum telephone value to “0″ and “blank” but the asterisk is still there — making customers think they have to put their phone number in even though the program technically doesn’t require it. Ideas? Thanks much.

    6. econcepts said:

      The Asterisk is controlled through the language file (a default part of Zen). In order to remove that asterisk you would need to open the following file:

      /includes/languages/[YOUR TEMPLATE]/english.php

      and in that file, find the following line of code

      define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');

      Change it to read as follows:

      define('ENTRY_TELEPHONE_NUMBER_TEXT', '');

      (removing the asterisk). That should do it.

    7. packratmag.com said:

      Everything is working. Sorry for that over site on the minimum values, I should have seen it. My only excuse is that I don’t know much about Zen Cart.

      Any suggestions on quality sources for learning? I am very new to Zen Cart and I don’t see too much value in their website when looking for information. I look forward to your mini-book. Thanks for your help.

    8. econcepts said:

      No problem at all. It is an easy thing to miss. There is a lot to Zen Cart, and it can be a daunting task to learn.

      As far as sources, I myself just use the forums, however, I am also “technical” in nature so a number of the items they talk about there are understood.

      What I am trying to do with this site is to help the entire Zen Cart community to learn new ways they may not have thought about, and that are not talked about readily in the forums for increasing sales.

      I also want to convey to try to approach the community from a “less technical” level when possible. In fact, I am working on an entire section right now that will be added to this site which will offer nothing but Video Tutorials on how to use various Zen Cart related items. Sometimes “seeing” is better than reading. :)

      My first tutorial should go up later this week (near the end) or early this weekend. I intend on taking “requests” for what people may want to see as a video as well. It is a different way of approaching it, and one that I think will really be welcomed by many.

    9. new to zen said:

      Thank you for this very helpful website.
      This contribution is now in use at happygirlkitchen.com/store

      I agree with what packratmag.com on May 24th, 2007 at 8:08 pm.

      Here is what I had to do to install the sql patch through the zen admin:

      This is the error I had:

      1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘true’, ‘false’), ‘, now())’ at line 1

      Here is the information I found, thanks to the comment from packratmag.com:

      though there is no syntax error in the original file. You can fix this problem by opening the file admin/sqlpatch.php and replacing the line:

      $query_string = zen_db_prepare_input($upload_query);

      with this:

      $query_string = $upload_query;


      http://www.zen-cart.com/wiki/index.php/Troubleshooting_-_SQL_Patches

      thanks again, for all the great online tips!

    10. Robert said:

      I really love and appriciate this site. You’re doing a heck of a job for us non-technical guys. I’m going to try and impliment the No Phone and see what happens. I sure with the info I have here I should be able to do it. T
      Thanks Again!

    11. econcepts said:

      Thanks Robert. I try to work hard to provide helpful and useful information in the simplest terms possible.

      I am glad you enjoy the site. There is so much coming on the horizon. It seems as though my testing never ends. :)

    12. Kent said:

      Dear econcepts,

      Have you heard from anyone on the compatibility of this module with ZenCart 1.3.8 ?

      I’d sure like to use it if it works in this environment.

      Thanks
      Kent

    13. Eric Leuenberger said:

      Have you heard from anyone on the compatibility of this module with ZenCart 1.3.8

      Works just fine with 1.3.8. I am using this mod on sites ranging from 1.2.x up to and through 1.3.8 with now problems.

    14. Wally said:

      Excellent tip!

      I installed on version 1.3.7 - and it worked perfectly. Cut and pasted code from the download and had zero problems!

    15. version said:

      Hey,

      I have a client that want’s all unnecessary fields removed - including password

      This is because they want to streanline the purchasing process and they don’t want customers to sign up to pay.

      I’d really like to see a module that sends a random password via email, then new customers would only need to input shipping address (including name) and email for verification.

      why would you need any other info?

      The email would be a receipt with login info (password) for tracking etc…

      Does that sound logical?

    16. version said:

      Forget my last comment

      The module does exist:

      Checkout Without Account Mod
      http://www.zen-cart.com/forum/showthread.php?t=59189

    Post a Comment on This Article

    XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>