Page 1 of 7 123 ... LastLast
Results 1 to 10 of 68
  1. #1
    Join Date
    Jul 2008
    Location
    Lapeer, MI
    Posts
    29
    Plugin Contributions
    0

    help question Remove Registration Completely?

    I was able to remove the registration form from the login page by editing includes/templates/template_default/templates/tpl_modules_create_account.php but now it shows this new box that says "New? Please Provide Your Billing Information" (see attached screenshot)

    How can I remove this?
    Attached Images Attached Images  

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Remove Registration Completely

    The short answer is "you can't".

    You may be able to disable text from showing, but you need to provide some information when logging in - and Zen Cart is not currently set up to allow purchases without creating a customer account.

    What exactly is your overall goal in the changes you are trying to do?

    P.S. - You should never change any files in /template_default/. You should copy the file to a custom template folder (/your_template/, or whatever you want to name it) and edit it there.
    Last edited by gjh42; 23 Aug 2008 at 05:17 PM.

  3. #3
    Join Date
    Jul 2008
    Location
    Lapeer, MI
    Posts
    29
    Plugin Contributions
    0

    Default Re: Remove Registration Completely

    I'm trying to make it so that only the admin can register new users (I got a mod for the admin panel to do this)

    I want users to be able to login and out but I don't want people to be able to register (the admin would do this for them)

  4. #4
    Join Date
    Nov 2006
    Posts
    296
    Plugin Contributions
    2

    Default Re: Remove Registration Completely

    Quote Originally Posted by ETbyrne View Post
    I'm trying to make it so that only the admin can register new users (I got a mod for the admin panel to do this)

    I want users to be able to login and out but I don't want people to be able to register (the admin would do this for them)
    So why not change the text and tell people in that box that they can only be added if they send you an email first?

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

    Default Re: Remove Registration Completely

    There are some settings in the admin which may help you:

    admin>configuration>my store>store status
    What is your Store Status
    0= Normal Store
    1= Showcase no prices
    2= Showcase with prices

    admin>configuration>customer details>customer shop status
    Customer must be approved to shop
    0= Not required
    1= Must login to browse
    2= May browse but no prices unless logged in
    3= Showroom Only

    admin>configuration>customer details>Customer Approval Status
    Customer must be Authorized to shop
    0= Not required
    1= Must be Authorized to Browse
    2= May browse but no prices unless Authorized
    3= Customer May Browse and May see Prices but Must be Authorized to Buy
    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

  6. #6
    Join Date
    Jun 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Remove Registration Completely

    Hi,

    I am also trying to remove the registration form. The reason is that my business will be selling to local authority organisations and not to individuals.

    Creating customer accounts through the SQL database is simple but I need to remove or hide the form below the returning customers login box.

    Can the form below this area be amended and if so where ?

    Thanks
    Alan

  7. #7
    Join Date
    Jun 2010
    Posts
    3
    Plugin Contributions
    0

    Default Re: Remove Registration Completely

    Hi again,

    Just noted the file in the earlier post

    tpl_modules_create_account.php

    But the writer shows a new box appeared after this was modified. Can this new message box be disabled or modified.

    Thanks
    Alan

  8. #8
    Join Date
    Aug 2009
    Posts
    29
    Plugin Contributions
    0

    Default Re: Remove Registration Completely?

    For Posterity, and to close up one of the thousands of abandoned Zen Cart posts (I arrived here attempting the same from Google):

    There are any number of reasons why you wouldn't want users to register. Google Checkout Mod for instance registers people for you...if you're only offering GC then why would you want to allow registration? Likewise, if you're registering people yourself as the OP was...

    Anyway, OP was off in their method, to prohibit the Registration option (tpl_modules_create_accout.php) from showing at all,

    1. make a backup of your tpl_login_default.php

    2. delete the follwing from tpl_login_default.php:

    Code:
    <?php echo zen_draw_form('create_account', zen_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL'), 'post', 'onsubmit="return check_form(create_account);"') . zen_draw_hidden_field('action', 'process') . zen_draw_hidden_field('email_pref_html', 'email_format'); ?>
    <fieldset>
    <legend><?php echo HEADING_NEW_CUSTOMER; ?></legend>
    
    <div class="information"><?php echo TEXT_NEW_CUSTOMER_INTRODUCTION; ?></div>
    
    <?php require($template->get_template_dir('tpl_modules_create_account.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_create_account.php'); ?>
    
    </fieldset>
    
    <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_SUBMIT, BUTTON_SUBMIT_ALT); ?></div>
    </form>
    3. re-up the file.

    this way you're removing the entire call to FILENAME_CREATE_ACCOUNT, the 'box' and all.

    Easy Peasy. Tested and working on 1.3.9h

  9. #9
    Join Date
    Aug 2011
    Location
    Portland, Oregon
    Posts
    20
    Plugin Contributions
    0

    Default Re: Remove Registration Completely?

    An update to this thread for those looking to disable the registration form in Zen Cart but still have the customer login form available.

    Another way to turn off the registration form but still have the login for returning customers is to use CSS. I found the div called #createAccountForm and in the CSS set this to display:none. It worked! There is no form and no box to allow registration, only the login form.

    Sample code:
    div#createAccountForm {
    display:none;
    }


    Hope this helps!

  10. #10
    Join Date
    Apr 2012
    Posts
    51
    Plugin Contributions
    0

    Default Re: Remove Registration Completely?

    I have tried this css code but cant really find this in my css stylesheet . And it doesnot works .. i really need to disable customer registration form

 

 
Page 1 of 7 123 ... LastLast

Similar Threads

  1. Remove Stock Information Completely
    By ojhernandez in forum General Questions
    Replies: 2
    Last Post: 6 Sep 2010, 05:11 PM
  2. Remove E-mail Logo Completely
    By jaredt112 in forum General Questions
    Replies: 1
    Last Post: 12 Mar 2010, 09:33 PM
  3. completely remove logo
    By rembot in forum Templates, Stylesheets, Page Layout
    Replies: 13
    Last Post: 24 Nov 2008, 10:11 PM

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