• Resolved bazbob67

    (@bazbob67)


    For some visitors on my site, after adding items to the cart then going to cart, the cart says “Your cart is currently empty” yet the items still show in the cart. Occasionally, the visitor can view the cart but then when clicking “checkout” again, they get an empty cart message but still show items in cart.

    This isn’t device or browser specific but does seem to effect the same users consistently. I have only been able to recreate once. But, refreshed my browser and have since been unable. Nor has my service provider.

    Important to remember it only happens to SOME users, not all.

    I’m on Godaddy managed wordpress with a woocommerce site.

    Cart- WPMenu cart pro

    Just recently found out this seems to have been an issue since my site first went live(Aril 2018)
    recently removed object-cache.php from wp-content folder, advanced-cache is inactive.

    Godaddy has server side caching, still trying to find out if they cache cart, checkout,myaccountpages. But for those with knowledge, why would that effect just SOME?

    also, just reading about cart updating via php vs ajax. Seems in some instances it alternates…is this possible? Just with godaddy or what?

    Any help appreciated.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor alexmigf

    (@alexmigf)

    Hello @bazbob67

    I couldn’t replicate the issue, but i believe that could be cache, are you able to disable the Godaddy server side cache and test?

    Thread Starter bazbob67

    (@bazbob67)

    Hi Alex,

    Thanks for getting back.

    Hopefully, you can’t replicate. I may have found a solution thanks to Woocommerce support.

    They believe the issue is a communication break between GoDaddy caching and Woocommerce pages. By default, Woocommerce says there pages are coded to tell servers not to cache Woocommerce pages (‘Cart’, ‘checkout’ and ‘myaccount’).

    Woocommerce believes that, at times, Godaddy’s server-side caching is failing to do that.
    Unfortunately, I couldn’t even find someone in Godaddy tech support who even knew they had server-side cache for managed wordpress sites.

    I’ve been working on this 6 months with Godaddy and no solution. @ chats with Woocommerce to solve.

    The solution( if this works) Add the WP Rocket plugin. That plugin is the only caching plugin allowed by Godaddy managed wordpress and, like Woocommerce, by default tells Godaddy’s server-side caching(Varnish) not to cache Woocommerce pages.

    The hope is that this redundancy will stop the “Your cart is currently empty” error.

    Otherwise, moving to another host is all that’s left. For anybody on other servers, read up on caching of Woocommerce pages as it seems some cache plugins are just not compatible with Woocommerce.

    Something important I’d say for anybody with a Woocommerce site, install heatmapping and use it! Being able to actually view what is happening with my visitors is the only reason I’m aware of this problem. I probably would have thought it was just dropped carts otherwise.

    I still appreciate anybody making sample purchase on our site and letting us know here if you have an issues. We just installed the plugin this morning and so it’ll take sometime to make sure it’s working right.

    Thanks again Alex

    Thread Starter bazbob67

    (@bazbob67)

    Also Alex,

    If you get as far as the cart but the can try going to checkout….a few times that triggered the error. Refreshing the browser seems to solve it if that occurs

    Plugin Contributor alexmigf

    (@alexmigf)

    Hi @bazbob67

    Thank you for the detail explanation of the problem. It seems in fact a caching problem, I’m glad you found a workaround. Hope you could fix definitely the situation with Godaddy or with another hosting provider.

    Have a nice day!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Cart says empty but items show in cart icon’ is closed to new replies.