Displaying "Login / Logout" issue after Miva 10 Upgrade

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mstella1
    Mivite



    • Apr 2012
    • 338

    #1

    Displaying "Login / Logout" issue after Miva 10 Upgrade

    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&amp;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
  • mstella1
    Mivite



    • Apr 2012
    • 338

    #2
    So one more footnote on this - this is only happening when we "Shop as Customer"

    Comment

    • rbuelna
      Super Moderator



      • Mar 2008
      • 311

      #3
      Originally posted by mstella1 View Post
      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&amp;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
      Hello mstella1,

      I'll see if a web dev can take a look at this post. Out of curiosity what page or template is this code you pasted from, Global header?

      Warm Regards,
      Rafael Buelna
      Miva Support Engineer
      800.608.MIVA
      http://www.miva.com
      http://www.miva.com/support

      Comment

      • mstella1
        Mivite



        • Apr 2012
        • 338

        #4
        Yes, global header.

        Also, if it helps I just noted that it happens when we are using "Shop as Customer".

        Comment

        • rbuelna
          Super Moderator



          • Mar 2008
          • 311

          #5
          Originally posted by mstella1 View Post
          Yes, global header.

          Also, if it helps I just noted that it happens when we are using "Shop as Customer".
          Hello mstella1,

          Got it, thank you I'll pass this info along.

          Warm Regards,
          Rafael Buelna
          Miva Support Engineer
          800.608.MIVA
          http://www.miva.com
          http://www.miva.com/support

          Comment

          • mstella1
            Mivite



            • Apr 2012
            • 338

            #6
            Also, just found out Merchant Confirmations are not being sent when you "Shop as Customer".

            Comment

            • rbuelna
              Super Moderator



              • Mar 2008
              • 311

              #7
              Originally posted by mstella1 View Post
              Also, just found out Merchant Confirmations are not being sent when you "Shop as Customer".
              Hello mstella1,

              Make sure you have "By shop as Customer" selected under "send when order created" feature in the email merchant notification settings.

              Settings >> Order Fulfilment >> click on "Order confirmation Merchant" >> see screenshot
              Attached Files
              Rafael Buelna
              Miva Support Engineer
              800.608.MIVA
              http://www.miva.com
              http://www.miva.com/support

              Comment

              • mstella1
                Mivite



                • Apr 2012
                • 338

                #8
                That fixed my confirmation email issue, thank you!

                So we have the original Login / Logout question.

                Our customer service reps just said the final screen at checkout that displays the order number refreshes to SFNT after a few seconds and they can't read the order number to the customer. Is that a new setting as well?

                Comment

                Working...
                X