• Resolved Daan from Daan.dev

    (@daanvandenbergh)


    Hi!

    I’ve been using your plugin for a while now and today a customer pointed out a bug to me.

    To reproduce the issue:
    – Add an item to your cart,
    – Go to checkout,
    – Remove all items from your cart, at this point the cart will appear empty,
    – Go back home by clicking on the logo,
    – Click on the cart icon in the top right corner.

    At this point you’ll see items in the cart again. After manually refreshing the page, the cart will be empty again.

    I’ve tested this in the latest version of Firefox and Chrome.

    My site is hosted on ServeBolt and runs through CloudFlare (all JS and CSS optimization options are disabled). No other caching plugins are active.

    I’ve enabled the ?nocache=true parameter in checkout for EDD and have the caching configuration in CloudFlare set to ‘no query string’, which means that any page that contains a query string should bypass the caching.

    EDIT: One other thing that occurred to me, EDD_USE_PHP_SESSIONS is set to true, setting it to false doesn’t matter, because EDD continues to write edd_use_php_sessions = 1 to WordPress’ options table.

    Looking forward to your reply!

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Session items in cart aren’t properly emptied’ is closed to new replies.