Announcement

Collapse
No announcement yet.

Customer login not changing to welcome customer

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Customer login not changing to welcome customer

    My customer login link on the cat tree allows me to log in but does not switch to the welcome back message and clicking the link again just brings up the LOGN page again - not the ACNT page even though it is still logged in.

    I am totally baffled by this. The customer links are correct as far as I can tell:
    <span id="loginlink"><a href="&mvt:global:secure_sessionurl;Screen=LOGN&Or der=0&Store_Code=&mvte:global:Store_Code;">Custome r Login</a></span>
    and
    <span id="loginlink"><a href="&mvt:global:secure_sessionurl;Screen=ACNT&Or der=0&Store_Code=&mvte:global:Store_Code;">Welcome back, &mvte:global:Customer:bill_fname; &mvte:global:Customer:bill_lname;</a> | <a href="&mvt:global:secure_sessionurl;Action=LOGO&Sc reen=SFNT&Store_Code=&mvta:global:Store_Code;">Log out</a></span>

    I've searched through the boards here but although a few posts seem similar, nothing really matches this problem.

    The site is http://www.chocomolds.com/
    This can be duplicated using my test acct:
    User: test PW: testing

    #2
    Re: Customer login not changing to welcome customer

    I just wanted to add that this is a css framework using the Restaurant skin as a base.

    Comment


      #3
      Re: Customer login not changing to welcome customer

      Originally posted by chocolate View Post
      I just wanted to add that this is a css framework using the Restaurant skin as a base.
      Hello,


      Did you upgrade from Production Release 6 to Production Release 7 recently? Or did you start fresh on PR7? You may have to apply these changes MMUI page template changes from our Knowledge Base:

      https://support.mivamerchant.com/sup...news&newsid=48
      Rafael Buelna
      Miva Support Engineer
      800.608.MIVA
      http://www.miva.com
      http://www.miva.com/support

      Comment


        #4
        Re: Customer login not changing to welcome customer

        The site was installed on 9/1/10 so I'm not really sure about updates - it is currently Production Release 7 Update 8 but I'm not sure where to view the update history.

        I did see that sticky post about the changes, but was under the impression that it only applied to MMUI frameworks.

        For example the line mentioned here does not even exist in My ACED page:
        ACED - Log out links now use secure URLs
        replace:
        Code:
        <a href="&mvt:global:sessionurl;Action=LOGO&Screen=SF NT&Store_Code=&mvta:global:Store_Code;">Logout</a><br>
        with:
        Code:
        <a href="&mvt:global:secure_sessionurl;Action=LOGO&Sc reen=SFNT&Store_Code=&mvta:global:Store_Code;">Log out</a><br>
        My ACED Template looks like:
        <mvt:item name="html_profile" />
        <head>
        <title>&mvt:store:name;: Edit Customer Account</title>
        <base href="&mvt:global:basehref;">
        <mvt:item name="head" param="css_list" />
        <mvt:item name="head" param="head_tag" />
        </head>

        <mvt:item name="body">
        <mvt:item name="hdft" param="global_header" />
        <mvt:item name="navbar" />

        <div id="mainbody_account">
        <mvt:item name="hdft" param="header" />

        <mvt:item name="messages" />
        <form method="post" action="&mvt:global:secure_sessionurl;">
        <input type="hidden" name="Store_Code" value="&mvte:global:Store_Code;">
        <input type="hidden" name="Action" value="UCST">
        <mvt:item name="customer" />

        <br class="clear" />
        <br />
        <div class="floatright">
        <mvt:item name="buttons" param="Save" />
        </div>
        <br />

        </form>
        <br />
        <mvt:item name="hdft" param="footer" />
        <br />
        <mvt:item name="hdft" param="global_footer" />
        </div>
        </mvt:item>
        </html>

        Comment


          #5
          Re: Customer login not changing to welcome customer

          Hello,

          Well, your site is using the MMUI layout and you've just applied a CSS "Skin" to it. If you check your admin, and click on the store name, then click on the "settings" tab, here you will see that your site is using the MMUI layout, and not the CSSUI layout.

          As far as the MMUI Template changes, the one in you will want to look at, is the one for the LOGN page. Take a look at those, and if that doesn't work let me know.

          Regards,
          Last edited by rbuelna; 11-28-10, 11:40 AM.
          Rafael Buelna
          Miva Support Engineer
          800.608.MIVA
          http://www.miva.com
          http://www.miva.com/support

          Comment


            #6
            Re: Customer login not changing to welcome customer

            Ok, I've made the changes and the log in screen is now forwarding to the ACLN page but it is still not fully recognizing that customers are logged in and there is no way to get back to ACLN without going through the login page again.

            The cat tree customer login link is not changing to "welcome back customer name" and still displays "customer login" which puts customers on the log in screen when clicked even though they are already logged in.

            I am not really sure what controls this behavior so I'm at a loss as to where to start troubleshooting this.

            I'm assuming that the behavior should be similar to my MM4 store and not asking logged in customers to log in again since the store settings has controls for this link in both not logged in and logged in states. Copy of these customer links in previous post).

            Comment


              #7
              Re: Customer login not changing to welcome customer

              I think I may have found the problem.
              This line is hard coded in my cat tree header and I suspect that is causing the problem:
              <span id="loginlink"><a href="&mvt:global:secure_sessionurl;Screen=LOGN&Or der=0&Store_Code=&mvte:global:Store_Code;">Custome r Login</a></span>

              Should I change that to a call to the login link?

              And if so what is the syntax for it?

              Comment


                #8
                Re: Customer login not changing to welcome customer

                <mvt:if expr="g.basket:cust_id GT 0">
                send them to ACNT
                <mvt:else>
                send them to LOGN
                </mvt:if>

                or

                <mvt:item name="customerlink" /> if using CSSUI store.

                You can get kinda fancy with cookies for returning customers. See http://www.pinemporium.com/SFNT.html If you have shopped at Emporium Plus between 2000-2009 you can use that login to log into this test store (it has a mirror of the databases). The sign in at the top changes based on logged in status. Once you have logged in it saves your name for return visit welcome. You can see that after you log out.
                Last edited by wcw; 12-01-10, 08:19 AM.
                Bill Weiland - Emporium Plus http://www.emporiumplus.com/store.mvc
                Online Documentation http://www.emporiumplus.com/tk3/v3/doc.htm
                Question http://www.emporiumplus.com/mivamodu...vc?Screen=SPTS
                Facebook http://www.facebook.com/EmporiumPlus
                Twitter http://twitter.com/emporiumplus

                Comment


                  #9
                  Re: Customer login not changing to welcome customer

                  Thanks Bill, that first option got it going.

                  I like the way you've set it up on your test store, but for now I'm just looking to get the store functional with the basics so I can open it to the public. I may get a bit more elaborate down the road.

                  It has been a 3 month climb up a really steep learning curve (well more like a learning cliff) with overall sketchy documentation, but the site development is in its final stages now, thanks in large part to your excellent modules and tech support.
                  www.onestopcandle.com
                  www.chocomolds.com

                  Comment

                  Working...
                  X