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)
-   -   Require user to be logged in before seeing anything (https://forum.x-cart.com/showthread.php?t=62756)

tqualizerman 02-24-2012 11:28 AM

Require user to be logged in before seeing anything
 
Does anyone know if there's a way that to configure a store so that a user has to be registered before they can see anything?

totaltec 02-24-2012 06:40 PM

Re: Require user to be logged in before seeing anything
 
{if $login ne ""}
Show the site content.
{else}
Show the login box.
{/if}

:-)

cflsystems 02-24-2012 06:45 PM

Re: Require user to be logged in before seeing anything
 
I would advise against that - if you do it this way even SE will not be able to see the site, only login screen, so no indexing of the site. Leave pages accessible, you can hide prices, add to cart, quantity... just the elements that prevent non-logged in person to purchase but leave the actual pages accessible

totaltec 02-24-2012 07:09 PM

Re: Require user to be logged in before seeing anything
 
I wholeheartedly concur. :-)


All times are GMT -8. The time now is 03:33 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.