Forums / Managing Customers and Orders / Remove Registration Completely?

Remove Registration Completely?

Started by etbyrne on 23 Aug 2008, 4:04 PM · Views: 18,158

Results 1 to 20 of 68
23 Aug 2008, 4:04 PM
#1
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

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?

My Website > http://www.evanbot.com

23 Aug 2008, 4:13 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

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.

23 Aug 2008, 5:12 PM
#3
etbyrne avatar

etbyrne

New Zenner

Join Date:
Jul 2008
Location:
Lapeer, MI
Posts:
29
Plugin Contributions:
0

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)

My Website > http://www.evanbot.com

2 Jan 2009, 10:36 PM
#4
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: Remove Registration Completely?

ETbyrne:

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?

3 Jan 2009, 4:47 AM
#5
afo avatar

afo

Totally Zenned

Join Date:
Aug 2004
Location:
New York City
Posts:
6,800
Plugin Contributions:
0

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 Jun 2010, 7:24 PM
#6
alan_bower avatar

alan_bower

New Zenner

Join Date:
Jun 2010
Posts:
3
Plugin Contributions:
0

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

6 Jun 2010, 7:28 PM
#7
alan_bower avatar

alan_bower

New Zenner

Join Date:
Jun 2010
Posts:
3
Plugin Contributions:
0

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

22 Jan 2011, 4:44 AM
#8
junkbox avatar

junkbox

New Zenner

Join Date:
Aug 2009
Posts:
29
Plugin Contributions:
0

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:

<?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>
  1. 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

7 Aug 2012, 11:37 PM
#9
bad_kitty_studios avatar

bad_kitty_studios

New Zenner

Join Date:
Aug 2011
Location:
Portland, Oregon
Posts:
20
Plugin Contributions:
0

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!

J. DeForest
Bad Kitty Studios

20 Sep 2012, 3:14 PM
#10
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

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

20 Sep 2012, 3:16 PM
#11
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Remove Registration Completely?

Bad Kitty Studios:

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!

Please tell me where is this in stylesheet ?

20 Sep 2012, 3:53 PM
#12
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Remove Registration Completely?

Add this to your stylesheet:

#createAccountForm {display: none;}

Should remove that section.

20 Sep 2012, 4:10 PM
#13
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Remove Registration Completely?

Hello thnx for your kind response , i dont want customers to register , i only want to show them login form , i want to send them username and password from backend .

" In style sheet i have added this code in the end , but its doesnot works : still showing the Registration form and working

20 Sep 2012, 4:14 PM
#14
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Remove Registration Completely?

Then we'll need to see a link to your site, as that rule works fine for me on a test site.

20 Sep 2012, 4:18 PM
#16
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Remove Registration Completely?

, i need only login no registration form .link quickpharmas.com

20 Sep 2012, 4:22 PM
#17
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Remove Registration Completely?

Wanna hyde the registration form ! and only login details ..

20 Sep 2012, 4:29 PM
#18
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Remove Registration Completely?

Plzz tell me wat am i doin wrng? is this possible wat i need ?

20 Sep 2012, 4:40 PM
#19
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,874
Plugin Contributions:
8

Re: Remove Registration Completely?

Add to your stylesheet

#loginDefaultHeading+.floatingBox {display: none;}
``` worked for me on your site.
You might need to refresh your browser or clear the cache so you don't see a stale view.
20 Sep 2012, 4:44 PM
#20
studio009 avatar

studio009

New Zenner

Join Date:
Apr 2012
Posts:
51
Plugin Contributions:
0

Re: Remove Registration Completely?

That worked awesome ........ Now can i change its positon lyk the returning customers box to center . ! And i also want to add an heading to mentioning for password and username request .