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>

About this Entry

This page contains a single blog entry by Eric Anderson published on May 14, 2008 3:48 PM.

Orders With Standard shipping instead of UPS Ground® was the previous entry in this blog.

5 Advanced Tips for a ProStores Site Owner is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.