| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Disable customer registration | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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.
__________________
perryl7 - X-Cart Gold 4.0.17 |
|||||||
#2
|
|||||||
|
|||||||
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}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
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.
__________________
perryl7 - X-Cart Gold 4.0.17 |
|||||||
#4
|
|||||||
|
|||||||
This line in home.tpl:
{ include file="customer/menu_cart.tpl" }
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Thank you for the help. It works great now.
__________________
perryl7 - X-Cart Gold 4.0.17 |
|||||||
#6
|
|||||||
|
|||||||
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?
__________________
X-Cart Gold Version 4.0.17 |
|||||||
|
|||
X-Cart forums © 2001-2020
|