WooCommerce Cart Issue with LiteSpeed Cache

Solved6 replies3 participantsUpdated by Tony Rodriguez

  • Avatar: Nesa
    Nesa
    Participant

    Helo,

    We are experiencing an issue with the cart on our WooCommerce website, which uses the theme and LiteSpeed Cache plugin.

    The problem occurs when LiteSpeed Cache page caching is enabled.

    The scenario is as follows:

    We add a product to the cart.
    Cart opens correctly and the product is displayed in the cart.
    We go to the homepage and click on the cart – the cart is then displayed as empty.
    We then navigate to another page – the product appears in the cart again.
    After navigating to another page, the cart may once again be displayed as empty.

    So, the WooCommerce session clearly exists, but the cart contents are not displayed consistently across different pages.

    We would also appreciate it if you could check whether the Cart requires any specific LiteSpeed Cache settings, exclusions for certain AJAX requests from caching, or other configuration adjustments to ensure that the cart contents are always displayed correctly.

    Please, contact administrator
    for this information.

    6 Answers

    Avatar: Nesa
    Nesa
    Participant

    Hi,

    We think we have solved the problem. We enabled the “Vary for Mini Cart” option in LiteSpeed Cache, and so far everything seems to be working correctly.

    We will continue testing today and tomorrow to make sure the issue does not occur again.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @Nesa,

    Thanks for letting us know your progress in checking the source of issue and solution you discovered.

    If you have any additional questions or concerns, please do not hesitate to reach out to us. Our support team is always available to assist you.

    Kind regards, Jack Richardson
    The 8theme’s team

    Avatar: Nesa
    Nesa
    Participant

    Hello,

    For now, it seems that the previous problem has been resolved.

    We have another question. For some time, we have had an available update for XStore Core to version 5.7.5.

    Could you please let us know whether this version is safe and recommended to update to? Have you had any reported issues or negative experiences with this version, particularly on WooCommerce websites?

    Also, is it sufficient to simply click “Update Now” from the WordPress Plugins section, or are there any additional steps or precautions we should take before updating XStore Core?

    We would like to make sure the update will not cause any compatibility or functionality issues.

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello @Nesa,

    Yes, it is safe to update your theme and core plugin to the latest versions (theme v.9.7.7 / Core plugin.v5.7.7). You can find more details about the updating process in our documentation: https://www.8theme.com/documentation/xstore/video-tutotials/how-to-update-rate/.

    Our changelog: https://xstore.8theme.com/update-history/

    If you have any other questions, please feel free to submit your topics. However, we kindly ask you to separate your topics for different questions.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Nesa
    Nesa
    Participant

    Thanks for the support! My topic “WooCommerce Cart Issue with LiteSpeed Cache” has been successfully resolved.

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Dear Nesa,

    Thanks for being part of our WordPress & WooCommerce community!

    We’re happy we could assist you. Your feedback truly matters — it helps us make XStore better, faster, and more reliable with every release.

    Together, we’re shaping a better WooCommerce experience for everyone.

    Topic closed.
    The 8Theme Team

The issue related to '‘WooCommerce Cart Issue with LiteSpeed Cache’' has been successfully resolved, and the topic is now closed for further responses