Cart broken for variable products after WooCommerce 10.5+ update

This topic has 12 replies, 3 voices, and was last updated 3 hours, 17 minutes ago ago by Jack Richardson

  • Avatar: Michael
    Michael
    Participant
    March 13, 2026 at 12:31

    Hi,

    I’m experiencing a critical issue with variable products since the recent WooCommerce updates (10.5.3 security patch / 10.6.x).

    Environment:
    – XStore 9.7
    – WooCommerce 10.6.1
    – WordPress 6.9.2

    Issue:
    Cart behavior is erratic for variable products only. Items added to cart are not consistently shown — they appear, disappear, or fail to persist across page navigation. Simple products are unaffected.

    Troubleshooting already done:
    – Deactivated Caching — issue persists
    – Tested across multiple browsers and devices — issue persists
    – Checked WooCommerce logs (fatal errors, woocommerce, wc-api) — no relevant entries
    – Installed latest XStore patches — issue persists

    Background:
    WooCommerce 10.5 intentionally changed the add-to-cart behavior for variable products: the button is now disabled by default in PHP and re-enabled via JavaScript. This is known to cause conflicts when themes provide custom AJAX cart logic. I believe XStore’s cart implementation is conflicting with this change.

    Request:
    Please advise on a fix or provide a patch that restores compatibility between XStore’s AJAX cart and WooCommerce 10.5+ variable product handling.

    Thank you.

    11 Answers
    Avatar: Ayan Rahman
    Ayan Rahman
    Support staff
    March 13, 2026 at 13:04

    Hi,

    Thank you for reaching out to us.

    To assist you more effectively, we kindly request that you record a video demonstrating the issue and the steps leading to it. This will help us better understand and replicate the problem on our end.
    Upload the video on a filesharing service, for example – https://fex.net/ , and provide us with the URL.

    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: Michael
    Michael
    Participant
    March 13, 2026 at 15:59

    Hi,

    Sure, here is the screen recording: https://fex.net/s/d20tblr

    As you can see, I first add a simple product to the cart. The quantity in the basket (1) is displayed correctly.
    Then I open a variable product, select a variant and add it to the cart. At first, I can see both products in the side cart.
    However, the number of products shown with the cart icon in the header is still 1 instead of 2.
    When I then go to another page (shop page in this example) and open the cart, the most recently added product is gone.

    Note: the behaviour is not fully predictable. So it may be you repeat the shown steps and everything will be fine, but the behaviour will happen once you add a second, third or fourth variable product. But at some point it will happen.
    Also, sometimes products disappear althogether from the cart, but will reappear later (or not).

    I set-up a staging side for you to work with:
    https://greengorilla.de/gg-staging/shop/

    Below you find the credentials to sign in and also the corresponding ftp user.

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 14, 2026 at 08:07

    Hello @Michael,

    Please check now. We have activated the following setting: https://prnt.sc/xaIX8lov0O7o in Dashboard → XStore → Theme Options. We have also tested it, and the issue no longer appears on our side.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Content is visible for topic creator and
    support staff only.
    Avatar: Michael
    Michael
    Participant
    March 14, 2026 at 08:58

    Hello Jack,

    Unfortunately, that didn’t fix the issue. Here is a new screenrecording from just now: https://fex.net/s/2el0m8o

    It’s just that it doesn’t happen always at the same time. In this run, it was with the second product I added, but sometimes I had to add 5 or 6 to get the issue.

    Thanks
    Michael

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 14, 2026 at 09:07

    Hello @Michael,

    We kindly ask you to check the issue using a different device or browser, as our tests on Chrome and Safari did not reveal any problems.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Michael
    Michael
    Participant
    March 14, 2026 at 11:14

    Hello Jack,

    I tested on different browsers and different devices and could replicate the issue.

    Please note that it seems to only occur if you are not logged in and it does not always occur.

    Here is a screenrecording from Chrome on Windows: https://fex.net/s/r6szpcb

    This time the number indicator in the widget behaves very weirdly (goes from 2 to 1 to 0 to 1 after adding the second product).

    The main issue is not only that the number indicators are not working correctly, but products are disappearing from the cart (in some cases to reappear minutes later or after I deleted other products from the cart).

    Thanks
    Michael

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 14, 2026 at 14:30

    Hello @Michael,

    We have reviewed your active plugins and found that disabling the third-party plugin “Real Cookie Banner” resolved the issue. Could you please test it on your side now? We have temporarily disabled this plugin on your staging website.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Michael
    Michael
    Participant
    March 14, 2026 at 16:43

    Hello Jack,

    I noticed that you have disabled the “Ajax add to cart” option in XStore settings and yes, without that functionality it works.
    However, if I reactivate it, I have the same issue, even without “Real Cookie Banner” activated.
    So unfortunately, “Real Cookie Banner” is not the reason.

    As I understand it, there are changes to the add-to-cart functionality in Woocommerce since 10.5 as mentioned in this article:
    https://wordpress.org/support/topic/critical-issue-add-to-cart-broken-in-woocommerce-10-5-0/
    which might be the reason for the issue (I’ve been running this WP configuration for mutliple years without any problems).

    Many thanks for your ongoing support.

    Michael

    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 15, 2026 at 08:54

    Hello @Michael,

    We have reviewed the topic on the WooCommerce forum, and it appears that the issue may be caused by recent changes in their plugin. We attempted to test older versions of the WooCommerce plugin on your website, such as version 5.4.4 (https://wordpress.org/plugins/woocommerce/advanced/). However, due to plugins deactivations on your staging website, a fatal error occurred (https://prnt.sc/WLXlQpMr3TNw), which prevented us from proceeding further without your assistance.

    We kindly ask you to either test a previous version of WooCommerce, if possible, so that we can better understand the issue, or provide us with temporary FTP access to your staging website so we can resolve the error. Based on our local testing, we were unable to reproduce the same issue, which suggests it may be related to the recent WooCommerce update.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

    Avatar: Michael
    Michael
    Participant
    March 15, 2026 at 12:29

    Hello Jack,

    I re-installed the staging site as a clone from my current live site.
    I deactivated all caching, security and cookie plugins, so we can be sure they are not the reason.
    I also reuploaded woocommerce to rule out an incomplete upgrade process.

    Testwise I downgraded Woocommerce to 10.4.4. and WordPress to 6.9.1 to see if any of the recent updates is the culprit (current status of the staging site).

    Unfortunately, the issue persists (I have the feeling it even got worse).

    I provided you FTP access to the staging site and wordpress backend (see below).

    Thanks for your help
    Michael

    Content is visible for topic creator and
    support staff only.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    March 16, 2026 at 07:50

    Hello @Michael,

    We have disabled the following plugins (https://prnt.sc/J1h7nbwG5JtM) and then reactivated them. After conducting our tests, we confirmed that the “Add to Cart” functionality is now working correctly (we tested it approximately ten times with different types of products).

    Could you please check this on your side as well? We need to identify the root cause of this issue, but at the moment it appears to be related to certain plugins or other unknown factors.

    Best regards,
    Jack Richardson
    The 8Theme’s Team

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

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

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