Hide "View Cart" from top menu

Is there a way to hide top menu items until someone has logged in. I would like to hide “view cart” and also “My Account” untiil they login.

There isn't any setting to disable those as default, you'll need to modify the templates they use.



You can wrap the template file in an “if authenticated” if statement, like so:



{if $auth.user_id}
original template code here
{else}
{$lang.error_not_logged}
{/if}




In this case, this would display “You must log in before you can access this resource!” if the user is not logged in, which isn't ideal for your particular needs, so you can leave the {else} statement empty or tailor it to show the Sign In link.

Thanks so much!!! I will give that a try. Really appreciate it.