Okay
  Public Ticket #1802800
WooCommerce Cart - 'Cart is currently empty' error
Closed

Comments

  • Jason started the conversation

    We are having a problem where after putting a product in the cart, customers are getting "cart is currently empty" page display. After pressing 'return to shopping' the product shows as a number at the cart icon (right of menu bar), but pressing on the cart brings up the same 'cart is empty' page.

    There are exceptions, depending on the device and the browser, which is really weird. Also on chrome, if the customer waits a minute before clicking the cart (showing the product as a number), then the cart page may open properly and allow the customer to progress with their order.

    We are not sure how long this problem has been occurring for.

    I have tried reverting to a previous saved version (1 month ago) - that didn't fix the issue. 

    The Wordpress dashboard shows a message saying that there are outdated Woocommerce templates (cart related) .... but i have deleted those files from wp-content in a staging site and the problem persists there.

    I have tried removing all plugins (except for woocommerce itself) to no avail. Changing themes to SeventeenTwenty resolves the issue.

    Any ideas what might be causing the problem?

    Jason

  •  8,695
    Tahir replied

    Hey Again,

    Do you have the Ajax Add to cart Option selected in the Woocommerce Settings ?. 

    If you have Page Transitions Turned On Please Switch the Animated Transition Method to "Standard" in Salient Theme Options -> Page Transition Section.

    Also be sure to check/uncheck this Disable Fade Out On Click option : http://prntscr.com/8f3bj7

    Moreover if it doesnt work Turn off the Page Transitions and check for Browser Console Errors : https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors

    Best


    ThemeNectar Support Team 

  • Jason replied

    Hi Tahir,

    Tried all recommendations below - still have the same problem.

    Console error showing in chrome is: 

    jquery.js?ver=1.12.4:4 POST https://surfmud.com/?wc-ajax=wc_stripe_get_cart_details 403 (Forbidden)

    Screenshot attached

    After leaving item in the cart for approx 1min - the problem ceases in which case the above error doesn't show.

    The problem also ceases (does't occur) when changing the theme to Storefront or TwentySeventeen.

    Any ideas on how to repair. We know we are losing customers as some have contacted us about the issue - many don't bother. 

    Cheers,

    Jason

  •  8,695
    Tahir replied

    Hey Again,

    This is a server side issue so you will have to contact the Hosting provider and have them adjust the server settings. 

    Best 


    ThemeNectar Support Team 

  •   Jason replied privately
  •  8,695
    Tahir replied

    Unfortunately you will have to switch to a better more reliable hosting provider.

    Best


    ThemeNectar Support Team 

  • Jason replied

    Any recommendations - what do you think of Siteground?

  •  75
    Scott replied

    Hey there,

    Thanks for reaching in,

    Godaddy is a good place to start,

    Regards

    Themenectar Support Team

  • Jason replied

    GoDaddy is where we are having the problems ... any recommendations for good hosting?

  •  8,695
    Tahir replied

    WPEngine if you have the budget or Flywheel as have seen many users use it without issues and both specialize in WP Sites. 

    Best 


    ThemeNectar Support Team