Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2009
    Plugin Contributions

    Default How to remove address from Customer registration?


    I am configuring the Customer Registration form in the Admin section via the Configuration->Customer Details panel but there are some fields which cannot be turned off. For my customer registration form I only want the following:

    First and last name
    Email address
    Password (and confirm)
    Newsletter subscribe

    However, the Customer Details panel only allows you to remove such fields as Fax, State, Second line of Address and DOB etc. rather than the whole address and telephone number. Is there any other way of removing these fields?

    Thank you

  2. #2
    Join Date
    Apr 2006
    London, UK
    Plugin Contributions

    Default Re: How to remove address from Customer Details?

    There are no switches for turning these off, you would have to change the source code, both the templates that include them and the code that validates the inputs in both the users' broswers and back on your server. You will likely run into problems elsewhere too, since other parts of the code, sometimes want to know parts of the customers address. I vaguely remember removing the country field for a client, but then having to hard-code it back in (out of sight) as Zen Cart objected to it being unset.

    All this is up for grabs with the major release of Zen Cart planned for after 2.0.0, when the checkout is the focus and I understand that this encompass account creation.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jul 2008
    Whitley Bay, England
    Plugin Contributions

    Default Re: How to remove address from Customer Details?

    I would like to do what Memerson desribed, is it possible to do this yet with the new zen cart release?

  4. #4
    Join Date
    Oct 2010
    Plugin Contributions

    Default Re: How to remove address from Customer registration?

    I would also like to remove Telephone number from being a mandatory input on Customer account creation. You can set the minimum value to zero in Minimum Values, and that releases the customer from having to enter it, but since the little red asterisk remains on the sign-up page, the customer won't know that it's no longer required. Maybe a solution? Or have to wait for 2.0? Thanks.

  5. #5
    Join Date
    Sep 2003
    Plugin Contributions

    Default Re: How to remove address from Customer registration?

    Using your templates and overrides you can customize the english.php where the define for that is set ...

    Search the file for phone and you will see where it is set to:
      define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
    change that to:
      define('ENTRY_TELEPHONE_NUMBER_TEXT', '');
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!



Similar Threads

  1. How do I remove required fields from registration?
    By xbboychink in forum Templates, Stylesheets, Page Layout
    Replies: 40
    Last Post: 23 Dec 2020, 08:23 AM
  2. Remove Customer primary address from Invoice when shipping/billing are displayed?
    By barendfaber in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 26 Oct 2013, 01:48 AM
  3. v139h Remove Default Email Address from Returning Customer Login
    By atomiksteve in forum General Questions
    Replies: 2
    Last Post: 15 Nov 2012, 04:22 AM
  4. How to remove phone/fax number from registration form...?
    By threemiles in forum Managing Customers and Orders
    Replies: 20
    Last Post: 4 Mar 2009, 10:30 PM
  5. Remove customer details from Registration
    By nickbowers in forum Managing Customers and Orders
    Replies: 27
    Last Post: 21 Mar 2008, 04:43 AM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Zen-Cart, Internet Selling Services, Klamath Falls, OR