Creating a "Log Off" Link for ProStore
If you have an Advanced or better ProStores store, most likely at one time or another you will want to add a logoff link to your navigation. This simple SSML snippet will create just that - it makes a link to log on or log off, depending on the user status.
<ss:if test="$customer.isLoggedIn()">
<ss:link source="$templateSet.logoff">Log Off</ss:link>
<ss:else/>
<ss:link source="$templateSet.logon">Log On</ss:link>
</ss:if>
neoverve
Subscribe to the feed for this blog