• Resolved ole_wilkenburg

    (@ole_wilkenburg)


    Hi, if a customer collect some items, goes to cart and login at this point, after login the cart has lost all items and is empty!? can someone say whats the issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hi @ole_wilkenburg,

    I’ve performed some cross-testing for us today on several of my sites which have the latest versions of WordPress, WooCommerce and our free Storefront theme as the only enabled software. When doing so I’ve not been able to replicate the behaviour which you describe with regards to items being removed from the cart after logging into WooCommerce.

    Below is a video of the testing I carried out on my test installation where I added the products to cart as a guest and then logged into my site.

    Video: https://d.pr/v/GBymtT

    From what you have described, it could be code from another plugin or theme or a cache which has caused a possible conflict and affected the functionality of WooCommerce.

    To see if that is the case we’d suggest carrying out a conflict test on your site by disabling all other plugins aside from WooCommerce along with switching to a theme like Storefront. This will help with trying to and locate what software you have installed which could possibly be causing this behaviour? You could use a free plugin called Health Check and Troubleshooting to carry out such testing.

    When in Troubleshooting mode all plugins will be deactivated and only the admin of the site carrying out the troubleshooting would see those changes. Any customers visiting the site would see no changes at all.

    Once you have disabled all other plugins and switched theme if the behaviour is resolved you can then enabled your theme and sites plugins testing after each one is enabled until the behaviour returns to locate the culprit.

    https://docs.woocommerce.com/document/how-to-test-for-conflicts/

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Thank you for the swift reply!
    If I use the way you have shown at the video it works fine for me too!
    But I used a different way to login: view cart > proceed to checkout > retuning customer? click to login (and after this it shows) > CHECKOUT IS NOT AVAILABLE WHILST YOUR CART IS EMPTY

    Plugin Support Stuart Duff – a11n

    (@stuartduff)

    Automattic Happiness Engineer

    Hey @ole_wilkenburg,

    Testing for you by adding the products to cart, proceeding to checkout, and logging in as an existing customer retains the products on all of my test installations on the checkout page.

    Video: https://d.pr/v/9bFS5d

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Thank you, and i’m sorry for keeping you busy! After several hours of trying I found out that browser extension “Privacy Badger” was the reason!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Empty cart after login’ is closed to new replies.