Cart Page Not Updating After Removing Item from Side Cart (Even with WP Rocket Disabled)

This topic has 6 replies, 3 voices, and was last updated 2 months ago ago by Jack Richardson

  • Avatar: Amit Ghai
    Amit Ghai
    Participant
    July 17, 2025 at 13:30

    Hi XStore Support Team,

    I’m reaching out regarding an issue with the mini cart and cart page on my website using the XStore theme.

    Problem:
    When a product is removed from the off-canvas side cart, the item appears to be removed correctly there, and the cart icon updates as expected. However, when I click “View Basket”, the item still appears on the cart page, until I manually refresh the page. Screenshots attached for the reference.

    This happens for logged-out users, and it persists even after:
    Fully disabling WP Rocket (to rule out caching)
    AJAX request seen is: action: etheme_elementor_menu_cart_fragments
    WooCommerce’s standard get_refreshed_fragments action is not firing

    Could you please advise on how to:
    Properly sync the cart page after removing an item from the side cart
    Ensure WooCommerce’s fragment system is triggered when using XStore’s off-canvas mini cart
    If there’s a hook, JavaScript trigger, or setting within the theme to resolve this, I’d appreciate your guidance.

    Looking forward to your help.

    Kind regards,
    Amit

    Files is visible for topic creator and
    support staff only.
    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 17, 2025 at 14:01

    Hello,

    Thank you for reaching out to us.

    Could you please provide temporary wp-admin and FTP access? We will check what can be done to help you.
    To grant WP-Admin access, please proceed to create a new user account with an administrator role through your WordPress Dashboard. Once the account is established, you may securely transmit the username and password to us via the Private Content section designated for this purpose.

    For FTP access, we require the following details: FTP host, FTP username, FTP password, FTP port, and FTP encryption type. If you need assistance in creating these credentials, please reach out to your hosting provider who will guide you through the process.

    Warm Regards,
    The 8Theme Team

    Avatar: Amit Ghai
    Amit Ghai
    Participant
    July 17, 2025 at 14:12

    Hi Rose,

    Thank you for your response.

    Please find the website login details along with FTP and cPanel access in the Private Content area below for your review.

    Let me know if you require anything further to investigate the issue.

    Kind regards,
    Amit

    Please contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 17, 2025 at 14:38

    Hello @Amit Ghai,

    We hope this message finds you well.

    Upon reviewing your website, we noticed that the default shortcode is being used on the Cart page. This suggests that, when using a default theme such as Storefront, you may encounter a similar caching issue related to the WP Rocket plugin.

    To help identify the root cause, we kindly recommend testing the issue using the default Storefront theme. You may perform this test either on your live website or, preferably, on a staging environment that replicates the same conditions.

    If the issue persists while using the Storefront theme, we advise reaching out directly to WP Rocket’s support team. As WP Rocket is a premium plugin, they offer dedicated support for issues related to their product.

    Additionally, if you do not experience the issue while using the Storefront theme, we would appreciate it if you could share a video recording or screenshots of your testing process. This will help us better understand the situation and provide further assistance if needed.

    Thank you for your cooperation.

    Best regards,
    The 8Theme Team

    Avatar: Amit Ghai
    Amit Ghai
    Participant
    July 18, 2025 at 10:07

    Thank you for your continued assistance.

    I’ve now tested everything you suggested in your previous email on our staging website and unfortunately, the issue still persists.

    Here’s what I’ve tried:
    Disabled all plugins including WP Rocket

    Switched to default settings and re-tested

    Disabled XStore Core and even the XStore theme, but the side cart then disappears, making it impossible to verify if the issue is still present

    Re-tested with default WooCommerce cart functionality — which works correctly

    From all tests, it appears the issue lies specifically in the XStore side cart popup, which does not update the cart page session properly after an item is removed.

    Breakdown of the issue:
    I added two different products to the cart.

    The side popup cart correctly displayed both items.

    I clicked on “View Basket”, and both items appeared on the cart page as expected.

    Then I navigated back to the Indoor Lighting product category.

    From there, I clicked the cart icon in the header to reopen the side cart, which still correctly displayed both items.

    I removed one item from the side cart, then clicked “View Basket.”

    The cart page still shows both items, even though the side cart and header icon now correctly show only one item.

    After a manual page refresh, the cart page updates and the removed item disappears.

    I hope this gives enough detail for further investigation. Please let me know if there’s a way to force the side cart to trigger WooCommerce’s standard wc_fragment_refresh, or if you recommend a custom solution.

    Looking forward to your guidance.

    Regards,
    Amit

    Files is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    July 18, 2025 at 10:55

    Hello @Amit Ghai,

    We hope this message finds you well.

    We kindly ask if you could share the results of your testing using the Storefront theme, specifically after removing an item from the mini-cart and then checking the Cart page. We are interested to know whether the Cart page displays two items, as observed with the XStore theme, or if the items are shown correctly.

    We have received your test results involving the off-canvas feature; however, the issue may be related to a broader compatibility concern between WP Rocket and WooCommerce. For this reason, we would appreciate it if you could confirm whether the same issue occurs when using the default Storefront theme.

    Please ensure that only the WooCommerce plugin is active during testing (Elementor may be active as well, though it is not required). The Storefront theme (https://themes.woocommerce.com/storefront/) also includes mini-cart templates (https://prnt.sc/f_TBKcRTYalS), which should help in reproducing the scenario accurately.

    If the Cart page still displays a cached version of its content after removing an item from the mini-cart while using the Storefront theme, we recommend reaching out to WP Rocket support. You may also consider submitting a request on their support forum, as they might already have a solution for such cases. To date, we have not encountered similar reports from our customers.

    Thank you for your cooperation and assistance.

    Best regards,
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.