• Resolved stellapsihis

    (@stellapsihis)


    I have been experiencing a major issue with the WooCommerce shopping cart. When some customers are logged in, they cannot clear their carts or remove items. Even if a customer is not logged in and add items to their cart, as soon as they log in additional items appear in their cart that they cannot remove. This issue occurs for over 75% of my customers. The issue appears on all browsers, and on both mobile and desktop.

    I have contacted the developers of the theme I am running (Business Elite PRO from WebDorado). They tried several things but cannot fix the issue as they found it does not pertain to a problem with the theme. My developer also cannot find a way to fix this either. He has tried clearing the cache along with a long list of other things and nothing works. We have also deactivated all other plugins and the problem still persists. We have read through hundreds of threads here in the support forum but nothing has helped.

    The only thing that seems to work is to delete affected user accounts and have customers clear their browsers, add items to their carts and create a new account at checkout. They are able to order a few times after this but then the problem appears again.

    This issue with the cart has been very detrimental to us, as many customers cannot order what they want because they cannot clear their carts. Also, a few customers do not realize additional items appear in their carts when they log in and they inadvertently order and end up paying for items they don’t want. Help please! I get phone calls from customers trying to clear their carts every day and I can’t help them!

    Here is the status:

    [Moderated: Giant paste removed. https://make.wordpress.org/support/handbook/forum-welcome/#posting-large-excerpt-of-code%5D

    • This topic was modified 6 years, 1 month ago by t-p.
    • This topic was modified 6 years, 1 month ago by t-p.
    • This topic was modified 6 years, 1 month ago by t-p.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    @stellapsihis,
    Please use Pastebin and Gist and copy your code there. Then return here and paste the link to that here. See https://make.wordpress.org/support/handbook/forum-welcome/#posting-large-excerpt-of-code

    Thread Starter stellapsihis

    (@stellapsihis)

    Caleb Burks

    (@icaleb)

    Automattic Happiness Engineer

    It sounds like there is a problem with the persistent cart in WooCommerce. Here are some areas to look into:

    1) Caching

    The most likely cause of this is caching. It’s very important that caching is disabled on the cart, checkout, and my account pages: https://docs.woocommerce.com/document/configuring-caching-plugins/. Also need to make sure the needed cookies/session can work correctly on your server.

    2) Conflict Testing

    This is a pretty hard to replicate issue it sounds like, but once the problem does occur, it sounds like it doesn’t go away. So that is good in regards to testing.

    I see you have done some conflict testing, but it’s best to rule everything out at once. So once you can see this issue happening on an account, temporarily disable all plugins except for WooCommerce and switch to a default WordPress theme at the same time. Then test again to see if it still happens (with all caching disabled).

    3) Clearing customer sessions

    At WooCommerce > Status > Tools, there is a “Clear customer sessions” button. I’m wondering if this solves the problem. Note that this will empty all logged-in customer carts, so best to do this on a staging/test site if possible.

    As I’ve noted on another thread referring to the Persistent Cart issue, we have a similar problem at a site using an Ajax cart. Even after we have eradicated all legacy cart data (_woocommerce_persistent_cart_1) from User Meta, we start having users with the wrong carts – carts with a bunch of never-selected products, and often the same products – turning up again. We will shortly be checking to see if purging the Sessions table as well as the User Meta stops the problem from recurring, but the problem is difficult to replicate on demand.

    The site does also employ layers of caching, and a plugin (User Switching), implicated in seemingly related problems. If we had a better idea of where exactly the bad data is coming from and how, we might be able to devise a test better than “try some things out and wait a couple of days.”

    Our site is https://www.gbes.com

    • This reply was modified 5 years, 11 months ago by CK MacLeod.
    Moderator t-p

    (@t-p)

    Side note to @ck-macleod,

    Please do not jump into other topics. If the troubleshooting already posted made no difference for you, then, as per the Forum Welcome, please post your own topic. A lot more people will see your post this way.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘MAJOR ISSUE WITH SHOPPING CART!!!!’ is closed to new replies.