Announcement

Collapse
No announcement yet.

basket values not clearing ..

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

    basket values not clearing ..

    is it a quirk, or is istsomething that has a fix?

    If I add to basket, then go away .. when I come back the basket still shows the content. this is good... it's remembered.

    If I add to basket, then go through to purchase then go away .. when I come back again the basket is still showing the previous values, rather than clearing .. if I then go to modify basket it tells me the basket is empty (which it is of course .. so why was it still showing me wonders?) . then .. when I exit that and go back into the store (I think each time) the basket now shows a zero content .. which is what I would have expected before.

    any thoughts?

    #2
    David,
    I haven't tested this yet but was wondering the same thing myself and I suspect that it's due to the cookie validity time.

    The page content will be built using the cookie data supplied after you have added the item to the basket. However, if you refresh the page - or go to the checkout after the cookie period has expired then the browser won't send the cookie and the HTML will then be generated to show and empty basket.

    You could test this by turning on cookie prompts and examining the expiration details....

    Comment


      #3
      I think it's the receipt page that clears the cookie. So if you make a purchase but don't follow through to the receipt page then the cookie won't be cleared until it times out or a new session cookie is initiated.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        David

        Check out this post where I added some code to clear cookies on pressing the Cancel button in checkout.

        http://community.actinic.com/showthr...=clear+cookies

        This solved the issue for me. There are other ways too of calling the ClearDetails() function to immediately expire the cookies.
        http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
        http://www.dtbrownseeds.co.uk - More seeds and plants....
        http://www.mr-fothergills.co.uk - Well it used to be Actinic...

        Comment


          #5
          Sorry to hijack the thread but how did you make the calculate shipping feature on your checkout?

          Comment


            #6
            In broad terms the Live Shipping connects to a web service based on accumulated order weight, provided postcode and the country. Weight is set throughout the order session and the country is extracted either from the INVOICECOUNTRY field (if retail) or if logged in, there's some javascript that extracts it from the account address.
            http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
            http://www.dtbrownseeds.co.uk - More seeds and plants....
            http://www.mr-fothergills.co.uk - Well it used to be Actinic...

            Comment


              #7
              How much do you want for the code so i can add it to my website?

              Comment


                #8
                You'd best contact me via the website and I'll provide further details. That's the website in the profile, I mean.
                http://www.johnsons-seeds.com - Actinic plugins, remote add to cart and custom CMS
                http://www.dtbrownseeds.co.uk - More seeds and plants....
                http://www.mr-fothergills.co.uk - Well it used to be Actinic...

                Comment


                  #9
                  I get the same problems but only on windows 2000 machines, all the cart details remain in the basket, however if you view the cart its empty. Also on windows 2000 machines if you go through the checkout proccess, on the recipt page I keep getting a general script error. However on XP, everything works fine??

                  www.mp3playersonline.co.uk

                  Comment


                    #10
                    Hi Hector

                    Please see the following thread with regards to the cookie: http://community.actinic.com/showthread.php?t=10259

                    Also for your second issue, try setting up another payment method and see if you get the same error.

                    Kind Regards
                    Nadeem Rasool
                    SellerDeck Development

                    Comment

                    Working...
                    X