| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
auth.tpl and menu_cart.tpl help? Smarty question. | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
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?
__________________
X-Cart Gold Version 4.0.18 EWDHosting.com is my Host Unix Servers |
|||||||
|
#2
|
|||||||
|
|||||||
|
To only show something to non-logged in people, use this:
{if $login eq ""}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#3
|
|||||||
|
|||||||
|
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.
__________________
X-Cart Gold Version 4.0.18 EWDHosting.com is my Host Unix Servers |
|||||||
|
#4
|
|||||||
|
|||||||
|
{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
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
#5
|
|||||||
|
|||||||
|
Exactly what I needed. Thank you so much.
__________________
X-Cart Gold Version 4.0.18 EWDHosting.com is my Host Unix Servers |
|||||||
![]() |
|
| Thread Tools | Search this Thread |
|
|
|
|
|||
|
X-Cart forums © 2001-2020
|
|||