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)
-   -   anonymous usernames (https://forum.x-cart.com/showthread.php?t=37312)

tpl08 02-04-2008 10:22 AM

anonymous usernames
 
i'm using a simple call to show a user is logged in.

Quote:

{$login} {$lng.txt_logged_in}

If it's an anonymous user during checkout I get

Quote:

anonymous-11 is logged in

how can i prevent this ?

i'm guessing an if statement lik

Quote:

{if $anonymous_login eq ""}

balinor 02-04-2008 10:29 AM

Re: anonymous usernames
 
{if $login|truncate:9:"" eq "anonymous"}

cutterc 02-05-2008 03:55 PM

Re: anonymous usernames
 
Where do we put this statement? I never really thought about it..but I do like the idea...

balinor 02-05-2008 04:00 PM

Re: anonymous usernames
 
Use it anywhere you don't want to show things to anon customers :)


All times are GMT -8. The time now is 02:07 PM.

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