Hi,
Just upgraded to Miva 10 yesterday and trying to work out some of the minor bugs from our code.
On our site we display "Login" if the customer is not logged in and the once logged in it changes to their name "Your Name / Logout".
I have the code we were using on our 9 site below that was working but now it doesn't work. Once you log out it keeps the persons name and doesn't log you out.
I'm sure it is something simple but haven't figured it out yet.
<mvt:if expr="g.basket:cust_id GT 0">
<a href="&mvt:global:secure_sessionurl;Store_Code=&mv ta:store:code;&Screen=ACLN">&mvte:global:Customer: bill_fname; &mvte:global:Customer:bill_lname;</a> | <a href="&mvt:global:secure_sessionurl;Action=LOGO&am p;Screen=SFNT&Store_Code=&mvta:global:Store_Co de;">Logout</a>
<mvt:else>
<a href="&mvt:global:sessionurl;Store_Code=&mvt:store :code;&Screen=LOGN" target="_top">Login</a>
</mvt:if>
Thanks in advance,
Mike
Just upgraded to Miva 10 yesterday and trying to work out some of the minor bugs from our code.
On our site we display "Login" if the customer is not logged in and the once logged in it changes to their name "Your Name / Logout".
I have the code we were using on our 9 site below that was working but now it doesn't work. Once you log out it keeps the persons name and doesn't log you out.
I'm sure it is something simple but haven't figured it out yet.
<mvt:if expr="g.basket:cust_id GT 0">
<a href="&mvt:global:secure_sessionurl;Store_Code=&mv ta:store:code;&Screen=ACLN">&mvte:global:Customer: bill_fname; &mvte:global:Customer:bill_lname;</a> | <a href="&mvt:global:secure_sessionurl;Action=LOGO&am p;Screen=SFNT&Store_Code=&mvta:global:Store_Co de;">Logout</a>
<mvt:else>
<a href="&mvt:global:sessionurl;Store_Code=&mvt:store :code;&Screen=LOGN" target="_top">Login</a>
</mvt:if>
Thanks in advance,
Mike
Comment