Announcement

Collapse
No announcement yet.

LOGIN form on OCST page?

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

    #16
    Re: LOGIN form on OCST page?

    I had some reporting issues but ultimately I removed it because my customers were not using it enough and I think the AJAX solution that Andreas told you about is a better way to go.

    Reporting issues:
    I was using Google Analytics session level custom variable. The GA custom variable can change state throughout the session ( login, logout, login logout, login, logout, etc) but only reports on its final state.

    So if a customer placed an order as a guest then created an account from the INVC page, the custom variable would report it as a login order - so I was over reporting the login event.

    So then I changed it to event tracking and found that only 2% of the OCST users were clicking login -- but not statistically significant to make a decision.

    What I was most concerned with was seeing how many OCST-LOGIN users created an error and were kicked out to the LOGIN page but I was unable to get it to work on the page views report.

    After reading Andreas post I figured to conclude the test.
    http://www.alphabetsigns.com/

    Comment


      #17
      Re: LOGIN form on OCST page?

      Hi Alphabet: I like the AJAX solution that we've added to the OCST page. Extremely fast with no page reload, the Ship To and Bill To fields are filled allmost immediately.
      You can see it work at http://www.orange-traffic-cones.com. Add a product to your basket, then go to checkout. On OCST enter the bill to email: [email protected] and the bill to zip: 98661
      If you have any design or function suggestions, I'd like to hear them.
      Larry
      Last edited by wajake41; 02-28-13, 05:12 PM.
      Larry
      Luce Kanun Web Design
      www.facebook.com/wajake41
      www.plus.google.com/116415026668025242914/posts?hl=en


      Comment


        #18
        Re: LOGIN form on OCST page?

        Originally posted by wajake41 View Post
        Hi Alphabet: I like the AJAX solution that we've added to the OCST page. Extremely fast with no page reload, the Ship To and Bill To fields are filled allmost immediately.
        You can see it work at http://www.orange-traffic-cones.com. Add a product to your basket, then go to checkout. On OCST enter the bill to email: [email protected] and the bill to zip: 98661
        If you have any design or function suggestions, I'd like to hear them.
        Larry
        Very nice. Very fast. Any reason you went with a ^ separated string over JSON?

        Also, this doesn't appear to log the customer in, only look up their information. Is that correct? Stuff like order history and discount pricing wouldn't be applied?

        Comment


          #19
          Re: LOGIN form on OCST page?

          Hi Brandon:

          Thanks for your reply.
          Don't know anything about JSON. The examples of JSON being discussed right now on the forum make it seem very complex. It appears that JSON requires some server side programming too. The AJAX approach I used is quite simple.
          The ^ delimited string works well with the Javascript split() function to create an array. After that just stuff the array values into the appropiate OCST fields.

          We don't use either history or discounts but the CSSUI stores allow history to be retrieved by bill email & bill zip.

          I could retrieve the customer ID from the customer table but I don't have a way to populate the global customer ID with it in OCST. If that could be done I think the customer in essence would be logged in. With that customer id I could update the global customer id on the OSEL page using the toolkit vassign and toolkit's callURL to update the basket row on the Basket table but have not found a need to do so.
          Thanks again, Larry
          Last edited by wajake41; 03-01-13, 09:59 AM.
          Larry
          Luce Kanun Web Design
          www.facebook.com/wajake41
          www.plus.google.com/116415026668025242914/posts?hl=en


          Comment


            #20
            Re: LOGIN form on OCST page?

            Originally posted by wajake41 View Post
            Don't know anything about JSON. The examples of JSON being discussed right now on the forum make it seem very complex. It appears that JSON requires some server side programming too.
            JSON is a pretty great language for something like this and JavaScript handles it natively. I noticed the page you request is a PHP page, and PHP has an easy function for turning an array into a JSON string ( json_encode() ). I think Miva Merchant is the only one that has any issues handling JSON (and maybe this has been fixed?). THere are some subtleties to the language if you were to try and create or parse the JSON by yourself, but using the PHP and JavaScript libraries it is very, very easy.

            Either way though, it probably wouldn't add much functionality to your script, so I wouldn't waste your time rewriting what you have just to use it.

            The auto-log in could also open up some other issues depending how you do it, so I think what you have is a good approach for your store.

            Comment


              #21
              Re: LOGIN form on OCST page?

              We use JSON throughout Miva Merchant, so I doubt they're would be any issues.
              Thanks,

              Rick Wilson
              CEO
              Miva, Inc.
              [email protected]
              https://www.miva.com

              Comment

              Working...
              X