Announcement

Collapse
No announcement yet.

Store "clinging" to incorrect name & address

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

    Store "clinging" to incorrect name & address

    Hi folks,

    I've been doing some testing of a client;s store, which involves logging in and out of a couple of different customer accounts. We're seeing some incorrect behavior on the checkout pages. What happens is, I log in as customer A, put something in the basket, and go part-way thru checkout to do some tests. Then I go back to the store, log out, and log back in as customer B. When I go to checkout again, customer A's name and address info is still displayed on the OCST page. The store definitely "knows" that I'm logged in as customer B, because I see B's info when I go to ACED. But at checkout, it still puts A's info on the OCST page. It also does this if I'm not logged in at all (guest checkout).

    I found some code on the page templates that seemed to be related to this, with a Read_Basket operation on OCST and a Write_Basket on OSEL. But I commented that code out, and the behavior is unchanged. Can someone tall me how to get the store to correctly load the current customer's info on OCST?

    Thanks --
    Kent Multer
    Magic Metal Productions
    http://TheMagicM.com
    * Web developer/designer
    * E-commerce and Miva
    * Author, The Official Miva Web Scripting Book -- available on-line:
    http://www.amazon.com/exec/obidos/IS...icmetalproducA

    #2
    Browser Auto Fill?
    Bruce Golub
    Phosphor Media - "Your Success is our Business"

    Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
    phosphormedia.com

    Comment


      #3
      <mvt:item name="toolkit" param="basketfiller" /> ?
      Ron Frigon
      Jedi Webmaster Obi-Ron Kenobi

      Comment


        #4
        Hi folks,

        I just did some more work on this. I tried the same thing in one of my test stores, which is practically out of the box CSSUI, no ReadyTheme running. It has the same behavior.

        If you log in, go thru checkout at least to OSEL, then log out and log in to another account, then go to checkout again, you'll see the first address displayed on OCST. I suppose that, once the name and address info has been written to the Snn_ Baskets table, the store always uses that, rather than reload the basket from the new customer account. I'd consider that a bug, although admittedly it's pretty rare. For most stores, probably the only time a customer switches accounts like that is when one of us is testing something.

        Thanks --
        Kent Multer
        Magic Metal Productions
        http://TheMagicM.com
        * Web developer/designer
        * E-commerce and Miva
        * Author, The Official Miva Web Scripting Book -- available on-line:
        http://www.amazon.com/exec/obidos/IS...icmetalproducA

        Comment


          #5
          Originally posted by Kent Multer View Post
          Hi folks,

          I just did some more work on this. I tried the same thing in one of my test stores, which is practically out of the box CSSUI, no ReadyTheme running. It has the same behavior.

          If you log in, go thru checkout at least to OSEL, then log out and log in to another account, then go to checkout again, you'll see the first address displayed on OCST. I suppose that, once the name and address info has been written to the Snn_ Baskets table, the store always uses that, rather than reload the basket from the new customer account. I'd consider that a bug, although admittedly it's pretty rare. For most stores, probably the only time a customer switches accounts like that is when one of us is testing something.

          Thanks --
          I have been having issues with browser caching. This may not be your issue, but have you cleared the browser cache? Now, if that turns out to be the issue it sounds like something needs to be added to clear the cache/cookie when someone logs out.
          Leslie Kirk
          Miva Certified Developer
          Miva Merchant Specialist since 1997
          Previously of Webs Your Way
          (aka Leslie Nord leslienord)

          Email me: [email protected]
          www.lesliekirk.com

          Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

          Comment


            #6
            Can't really control a customer's browser. Did you rule out Autofill?
            Bruce Golub
            Phosphor Media - "Your Success is our Business"

            Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
            phosphormedia.com

            Comment


              #7
              I've never heard of browser caching being able to pre-fill a whole page full of text boxes.. And it's not just me; the client noticed the same behavior.

              I did look in the DB to confirm that the data in the Baskets table matched what I was seeing on the screen. Also, the store doesn't memorize the name & address info unless you click thru from OCST to OSEL. If you only go into checkout as far as OCST, you can back out and log in to a different account, and the store will handle it correctly.

              Thanks --
              Last edited by Kent Multer; 04-14-16, 12:52 AM.
              Kent Multer
              Magic Metal Productions
              http://TheMagicM.com
              * Web developer/designer
              * E-commerce and Miva
              * Author, The Official Miva Web Scripting Book -- available on-line:
              http://www.amazon.com/exec/obidos/IS...icmetalproducA

              Comment


                #8
                Hi Kent

                I have added a bug for this issue, thanks for letting us know about it.

                -Eric
                Eric Foresman
                Software Tester
                Miva Merchant
                http://www.mivamerchant.com/
                [email protected]

                Comment


                  #9
                  Originally posted by Eric Foresman View Post
                  Hi Kent

                  I have added a bug for this issue, thanks for letting us know about it.

                  -Eric
                  Eric, I'd like to circle back to this because I've come across another browser caching issue. The customer is trying to check out and gets greeted with the NTFD page while in the process. If that customer clears their browser cache they can proceed. Why would a customer need to clear their browser cache?
                  Leslie Kirk
                  Miva Certified Developer
                  Miva Merchant Specialist since 1997
                  Previously of Webs Your Way
                  (aka Leslie Nord leslienord)

                  Email me: [email protected]
                  www.lesliekirk.com

                  Follow me: Twitter | Facebook | FourSquare | Pinterest | Flickr

                  Comment

                  Working...
                  X