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
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
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.
Last edited by usernamenone; 24 Oct 2013 at 02:36 AM.
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
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 ...
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!]
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!
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.
~~~~~~~~~~~~~~~~~~~~~~~~~~
Play with it long enough and you will break it.
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.