Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 5 of 5

Thread: New upgrade from v8 to v9- Some customers can't add to cart

  1. #1
    jazzloft99 is offline Senior Member
    Join Date
    Feb 2008
    Posts
    202

    Default New upgrade from v8 to v9- Some customers can't add to cart

    I've had several customers call me and say that they add to cart and then their cart remains empty. I can't reproduce this on my end. Is there a possible explanation for this? Thank you!

  2. #2
    callison is offline Junior Member
    Join Date
    Feb 2011
    Posts
    1

    Default

    This drove me crazy for a couple of months. Turned out to be one of the cookies set by the server running the old version was not compatible.

    If you have the user delete the cookies set by your server, they will be able to log in fine and add items to shopping cart.

    I got tired of explaining how to delete cookies from various browsers and used a little script to erase the cookies, and then redirect the user back to the home page.

    Here is that code:

    <?php
    $domain = 'www.YOURDOMAINNAME.com';
    $deleteExpiration = time() - 60*60*24*365*10; // 10 years ago
    foreach (array_keys($_COOKIE) as $cookie) {
    setcookie($cookie, 0, $deleteExpiration, '/', $domain);
    }
    $domain = 'YOURDOMAINNAME.com';
    $deleteExpiration = time() - 60*60*24*365*10; // 10 years ago
    foreach (array_keys($_COOKIE) as $cookie) {
    setcookie($cookie, 0, $deleteExpiration, '/', $domain);
    }
    ?>

    <html

    <head>
    <meta http-equiv="Refresh" content="5; url=http://YOURDOMAINNAME.com/" />
    </head>

    <body>
    All of the old cookies have been removed!
    <p>
    You may close your browser, and re-open it to be sure all cookies are reset
    <P>
    or you may return to the site: <a href="http://YOURDOMAINNAME.com">YOURDOMAINNAME.com</a>
    </body>
    </html>
    Hope that helps someone
    Clay

  3. #3
    jazzloft99 is offline Senior Member
    Join Date
    Feb 2008
    Posts
    202

    Default

    Where do you place this script?

  4. #4
    mdelmic is offline Junior Member
    Join Date
    Aug 2009
    Posts
    13

    Default we are having the same issue

    Hi,

    We at targetsportsusa.com are experiencing the same issue with return customers trying to add items into the shopping cart, and the cart being empty.

    My level of knowledge of working with scripts is very low. Can someone please explain to me in simple steps how to fix this issue. I would greatly appreciate it.

    Thank you in advance.

    Diana Del

  5. #5
    NatashaLonny is offline Junior Member
    Join Date
    Oct 2011
    Posts
    1

    Default Products not being added to cart in IE v9

    We are having the same issue www.lonnys.com and I just upgraded to the Service Pack for 9.0.1.3 and it didn't help.

    Is there a fix for this yet? We get customers calling in frequently who can't add anything to their cart.