Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Remove new registration option

Remove new registration option

Views: 765

Results 1 to 5 of 5
26 Sep 2013, 8:04 PM
#1
dave_mck avatar

dave_mck

New Zenner

Join Date:
Apr 2005
Location:
London, Ont. Canada
Posts:
45
Plugin Contributions:
0

Remove new registration option

Is their an easy way of disabling the new user registration?
We only allow customers to view/shop our cart that we have already created an account for so it would be nice to disable the new user registration.

Thanks

24 Oct 2013, 1:34 AM
#2
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Remove new registration option

OK, I have not tried this but it should work

Open includes>templates>your template>templates then

tpl_login_default.php Go down to about line 85 and locate this time

<?php echo zen_draw_form('create_account', zen_href_link( and put this in front of the first part of the code /* and at the end add this *\ /* <?php echo zen_draw_form('create_account', zen_href_link (end (should be around line 97) </form>*\ This will hide the create an account section.
24 Oct 2013, 5:10 AM
#3
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Remove new registration option

That won't quite work right as you are trying to use php comments in HTML section of the code ... but a sort of good thought, however it is incomplete in several ways ...

Once a product is in the cart you get a different login altogether ...

While this could be customized ... it would take quite a bit of work to customize the Login, with or without products in the cart ...

If I get time to work through all of these steps, I will try to put the customizations together for you ...

24 Oct 2013, 8:29 AM
#4
usernamenone avatar

usernamenone

Totally Zenned

Join Date:
Sep 2006
Posts:
541
Plugin Contributions:
0

Re: Remove new registration option

Oh My I have been writing in java and */ */ comments out chunks of code. Yes I can see where just hiding a box would not work down the road. I remember someone else saying they opened and account for their customer and emailed their user name and pass to them and told them to log in using the returning customer. That could be an option I would guess.

24 Oct 2013, 1:25 PM
#5
stevesh avatar

stevesh

Black Belt

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

Re: Remove new registration option

Since you said you don't want visitors to view or shop on your site, just set Admin - Configuration - Customer Details - Customer Shop Status to 1.