Is there a simple way to check the user's logged in/out status in ALL areas of the SCA front-end? ie:
{{if isLoggedIn}}
do this
{{else}}
do that
{{/if}}
Is there a simple way to check the user's logged in/out status in ALL areas of the SCA front-end? ie:
{{if isLoggedIn}}
do this
{{else}}
do that
{{/if}}
depending on the version of SCA you are using you can use the global variable SC.
either
or
You can also include the user profile in any of your models: