Hide Account button

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
joea84
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Wed May 26, 2010 11:55 am

Hide Account button

Post by joea84 » Mon May 31, 2010 12:51 pm

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?

joea84
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 27
Joined: Wed May 26, 2010 11:55 am

Re: Hide Account button

Post by joea84 » Mon May 31, 2010 1:07 pm

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

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Hide Account button

Post by mazhar » Tue Jun 01, 2010 3:57 am

Yes its OK.

Post Reply