Welcome to Vortx Community Forum, where you can ask questions and receive answers from the staff at Vortx and other members of the community.

If you had a user account on our previous forums website, you will need to register a new account here.

Learn more about...

AspDotNetStorefront
DotFeed

If/else statement to only show if the user is logged in

I know there has to be an easy answer for this but I am having trouble finding an answer!

I want to have a block of HTML code in an xml.config that only shows up if the visitor is logged in and then have an else statement that has a block of text to tell them to login.
asked Jul 12, 2017 in MultiStore by jasperketone (130 points)

1 Answer

0 votes

 

Hi Jasper, you should be able to test for the root -> System -> CustomerIsRegistered value and based your choose/when/otherwise on that...
 
Thank you,
Jan
 
Compunix, LLC (Phoenix, AZ)
AspDotNetStorefront Development Partner and Reseller since 2005
------------------------------------------------------------------------------------------------------
 AspDotNetStorefront add-ons and plugins : http://www.ecommercecartmods.com
  * Searching Filtering, Single Signons, Reviews Ratings, Reports, Integrations
 Complete Automotive Solution : http://www.autopartsshoppingcart.com
  * Auto + Aftermarket Parts solution
 Unlimited Custom Development : http://www.compunix.us/t-unlimited-custom-development.aspx
  * Unlimited with Quick turn-arounds!
------------------------------------------------------------------------------------------------------

 

answered Jul 13, 2017 by jsimacek (6,765 points)
...