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)
-   -   show Options only if logged in (https://forum.x-cart.com/showthread.php?t=29121)

igc 02-23-2007 08:34 AM

show Options only if logged in
 
Hi,

I want to make the cart available only to wholsalers who have previously been approved and registered. We want to enable purchasing only if someone is logged in. I'd like to include the Options part of the product.php page only if the user is logged in. Is there a Smarty variable already assigned for this the purpose of checking login status?

Thanks, igc.

pauldodman 02-23-2007 08:37 AM

Re: show Options only if logged in
 
Try
{if $login ne "" }

igc 02-23-2007 09:29 AM

Re: show Options only if logged in
 
Thanks.

Couldn't get any easier than that.

igc


All times are GMT -8. The time now is 12:06 AM.

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