Adding text based on user login status

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

Adding text based on user login status

Post by jdarby » Mon Jun 29, 2009 7:58 am

I need to add some text to our MyWishlistPage.ascx file to help our users, "To preserve your wishlist for future visits, please Register/Login". I have the text displaying on the wishlist page but I only want it to display when there is a user that is not logged in. Is there a way to do this? Thanks.

jdarby
Commander (CMDR)
Commander (CMDR)
Posts: 151
Joined: Thu Sep 25, 2008 2:21 pm

Re: Adding text based on user login status

Post by jdarby » Mon Jun 29, 2009 8:02 am

got it. used

Code: Select all

#if ($customer.IsAnonymous == true)

Post Reply