Page 1 of 1

Hide Account button

Posted: Mon May 31, 2010 12:51 pm
by joea84
Hi,

When users arrive at my store, www.ablecommercesitefinity.com/login.aspx, I notice that the account tab (top right) appears. How can I hide this tab, if the user is not logged in? I cannot find the master page or the control for that navigation control anywhere. Is there a way to add tabs to it?

Re: Hide Account button

Posted: Mon May 31, 2010 1:07 pm
by joea84
Hi,

OK, I found the files:

This is for the whole store
~\App_Data\Scriptlets\Default\Header\Standard Header.htm

This is for the checkout
~\App_Data\Scriptlets\Default\Header\Checkout Header.htm

Do you agree this is the best way to hide buttons:

Code: Select all

                #if($customer.IsAnonymous == false)
				<a href="~/Members/MyAccount.aspx" class="acct">Account</a>
				<a href="~/Members/MyWishlist.aspx" class="wishlist">Wishlist</a>
                #end

Re: Hide Account button

Posted: Tue Jun 01, 2010 3:57 am
by mazhar
Yes its OK.