X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Disable customer registration (https://forum.x-cart.com/showthread.php?t=18909)

perryl7 12-28-2005 11:48 AM

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.

balinor 12-28-2005 11:54 AM

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}

perryl7 12-30-2005 06:32 AM

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.

balinor 12-30-2005 06:34 AM

This line in home.tpl:

{ include file="customer/menu_cart.tpl" }

perryl7 12-30-2005 07:31 AM

Thank you for the help. It works great now.

begeren 01-04-2006 06:22 PM

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.