![]() |
Disable customer registration
I am looking to disable all avenues of customer registration. My company wants to only allow access to customers in our client database for the time being. I have already handled the imported of the clients but I need to prohibit anyone from registering. My knowledge of Smarty templates is extremely limited. Thank you for your help.
|
First comment out the login boxes on customer/home.tpl. You'll also need to surround the 'add to cart' and mini cart includes with this code so that non-registered users can't get to the cart or checkout process:
{if $login ne ""} item you want to show only to registered users {/if} |
Thanks balinor. I wrapped the add_to_cart.tpl with the suggested code where ever it appeared. I could not find the mini cart information that was mentioned though. Where could I find this? Thanks again.
|
This line in home.tpl:
{ include file="customer/menu_cart.tpl" } |
Thank you for the help. It works great now.
|
I want to basically do the same thing, disable registration, but I also want to disable login. So I want all customers to bypass the whole register/login process and just checkout normally by entering their details each time they purchase. How do I do this?
|
All times are GMT -8. The time now is 06:08 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.