<b>Background of the issue: </b>
I am running a WooCommerce store created with Elementor, using WPML for translations. Each product has several variations (e.g., size, quantity), which are correctly synchronized to the English version using the WooCommerce Multilingual plugin. Initially, the variations are visible and selectable on the English product pages. Link to a page where the issue can be seen: English: hidden link Correct German product: hidden link
<b>Symptoms: </b>
After a few hours or days, the variations of the English version begin to disappear from the frontend - not all at once, but gradually. In the backend, the variations are no longer linked to the original German product variations. It seems to happen when the variation is purchased in the German store, breaking the link from the English variant to the German variant, which is then no longer displayed in the frontend.
I have a staging website. I cannot reproduce the problem there. I suspect it is a problem with the cache. I use WP Rocket and a Varnish cache on the server side.
<b>Questions: </b>
What settings do I need to make so that the cache no longer causes problems?
But that is not the problem. I have often done what you describe. It fixes the problem, the product variations are then synchronized again. But this only works temporarily. As soon as a German version is purchased again, the link from the English version to the German version disappears and then the English version is no longer visible and purchasable in the frontend.
However, this cannot be the solution if I have to do this manually several times a day so that visitors to the English website can buy the products.
There has to be a permanent solution here. As I said in my first post, I suspect the cache is the culprit. However, deactivating the cache cannot be the solution either. But I don't quite understand how the cache can cause the link in the backend to break? Is something not synchronized properly after a purchase? Could it be, for example, that the stock level is reduced after a purchase in the German version and the next check reveals that the English version does not have the same stock level as the master product and therefore breaks the link?
We use the WooCommerce JTL-Connector plugin to load products from the merchandise management system (JTL Wawi) into WooCommerce. Could this have something to do with it?
I have attached a picture where you can see how the linking is broken for the English product.
Thank you very much in advance!
In case it is interesting: I use Elementor Pro and the Hello Elementor theme
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: Europe/Madrid (GMT+02:00)
Hi,
As soon as a German version is purchased again, the link from the English version to the German version disappears and then the English version is no longer visible and purchasable in the frontend.
To investigate this properly, please create a Duplicator package before running the option and another one after the purchase. This will allow us to compare the database tables and identify any changes.
We can only provide a reliable solution if the issue is reproducible — the Duplicator packages will be very helpful in this process.
From what I can see, it doesn’t seem to be cache-related. However, you can easily rule that out by temporarily disabling your cache.
There’s also a chance the issue is related to the JTL-Connector. If possible, please test the process without it to see if the problem persists.