How to Fix “Product has been removed from your cart because it has since been modified”
In this article, I will show you how to fix an error “Product has been removed from the cart because it has since been modified,” which may happen for variable products when you add them to the cart and then switch to another sub-store of your WooCommerce multisite network.
This is what the error looks like:

In order to fix this error, all you need to do is:
- Double-check that your store attributes have the same slugs on both sub-stores.
- Double-check that your store attribute terms have the same slugs as well.
It will be sufficient to do that only for attributes used for variations.
For example, in my case, on “Store 1,” I used this slug for a product color attribute:

But on my “Store 2,” I just missed a letter in it:

I know that sometimes your product attribute terms must have different slugs because your stores could be in different languages. Unfortunately, that’s how WooCommerce works, and we can not have different slugs. Please, translate only attribute names in that case.