![]() |
auth.tpl and menu_cart.tpl help? Smarty question.
Hello,
On my site I edited the mini-cart so that in the mini- cart view you can see that there is a -Your account -Register section that seems to be working fine. However, when you login to your account, right below those same links redndant links show up, so it looks like this: - Your Account (I would like this to only show up if you are NOT logged in) - Register (I would like this to only show up if you are NOT logged in) - Your Wish List - Your Account - Orders history Can anyone help me with this coding? |
To only show something to non-logged in people, use this:
{if $login eq ""} |
Thank you, but can you give me an example of the whole code? Doesn't there need to be an
{if.....} {then...} {/if} for example. Thank you. |
{if $login eq ""}
display this {else} display that {/if} Might want to have a look at this thread: http://forum.x-cart.com/viewtopic.php?t=12234 |
Exactly what I needed. Thank you so much.
|
All times are GMT -8. The time now is 03:02 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.