This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Related documentation:
This topic contains 4 replies, has 1 voice.
Last updated by Dan 1 day, 3 hours ago.
Assisted by: Andreas W..
Author | Posts |
---|---|
December 24, 2024 at 12:22 pm #16543645 | |
Dan |
Background of the issue: Symptoms: Questions: |
December 24, 2024 at 12:24 pm #16543655 | |
Dan |
I’m currently using WooCommerce Multilingual & Multicurrency 5.3.2. If I update to the newest version (e.g. 5.3.9), the moment I change anything on product variants, all the variants disappear. I’ve tested downgrading to version 3.0 or 5.3.0, and those still work, so this issue seems to be directly related to the newer updates of the software. I will provide login credentials to a staging site in my next message. Please take a look yourself. If you try changing the price on the staging site under the older version, it works correctly. But once you upgrade to version 5.3.9 and then change the price, all the variants vanish. Please help me find a solution. I tried the solution here: https://wpml.org/forums/topic/in-backend-products-variations-disappear/ |
December 24, 2024 at 12:24 pm #16543659 | |
Dan |
[Please delete my URL from original message] |
December 24, 2024 at 6:59 pm #16544455 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hello, Could you please verify if the following known issues is what is affecting your site and try to apply the workaround? In case this does not solve the issue, please try to sync the variations at WooCommerce > WooCommerce Multilingual & Multi-Currency > Status > Troubleshoting after having updated WCML to its latest available version. If this will still not solve the issue, please let me know. Best regards |
December 25, 2024 at 8:44 am #16545038 | |
Dan |
This is not the issue. The same problem occurs as shown in this example: hidden link After saving a change on the variation product data (like price) all variations disappear in the main language. I prepared a staging environment so you can test it. |
December 26, 2024 at 2:31 pm #16547089 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
Hi, I would like to request temporary access (wp-admin and FTP) to the staging site to investigate the issue further. The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it. IMPORTANT If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields. The private reply form looks like this: The next time you reply, click on "I still need assistance". Video: Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form. Best regards |
December 26, 2024 at 6:25 pm #16547489 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I ran a test, after updating the Flatsome Partent Theme, switching to the Flatsome Parent Theme and testing while having only WooCommerce, WPML and our addons enabled. The issue with the missing variations does not happen in this setup when installing the latest version of WCML. (Tested on "Hamacama® Heaven Premium-Schlafhängematte") I then enabled all the plugins again, and the issue still did not occur. Finally, I enable the Child Theme again, and still no issue. This usually means, that while updating WCML a third plugin or the child theme is causing the issue. This would need extense testing, which demands quiet a lot of time. I ran a second test, by installing again WCML 5.3.2 and then installing the latest version while having all plugin enabled and the Child Theme active. I can not run the update, as WPML is not registered on this staging site, but I can install the latest version of WCML manually and replace the current plugin. I then revised all your original German variable products and the variations are still showing up. Please test for yourself if you can recreate the issue on the staging site. If not, delete the minified fiels created from Assets Cleaner PRO on your live site and clean the site's cache before updating WCML. |
December 26, 2024 at 8:21 pm #16547602 | |
Dan |
Thank you for examining the issue thoroughly. I attempted to replicate the same scenario on the live website and it failed. Here is a video demonstrating the exact steps I took: hidden link As shown, I switched from the Flatsome theme to the 2024 theme and deactivated all other plugins. Then, I updated to version 5.3.9 and reactivated the WPML plugins. The variants were deleted after changing the price, but when I downgraded to version 5.3.0, the changes didn't cause the variants to be deleted. This indicates a clear relationship between the updates from version 5.3.2 onwards and the problem. It does not appear that a third party is the cause. |
December 26, 2024 at 8:29 pm #16547606 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
I would not suggest doing this on the live site, as this will affect the visitors. I see now that the issue actually occurs after making an edit to a variation and saving the variations (this was not clear to me when runnign my test). I will run further tests on the staging site now and then get back to you. |
December 26, 2024 at 9:27 pm #16547629 | |
Andreas W. Supporter Languages: English (English ) Spanish (Español ) German (Deutsch ) Timezone: America/Lima (GMT-05:00) |
As you can see on the screenshot, there are some config issues on your site. You can see those on WooCommerce > WooCommerce Multilingual & Multi-Currency > Status. IMPORTANT: Then on WPML > Settings > Custom Fields Translation click "Show system fields" and set the field "_crosssell_ids" to "Translate". This solved the issue on the staging site. |
December 27, 2024 at 8:55 am #16548220 | |
Dan |
This was the solution. Thank you! |
December 27, 2024 at 8:58 am #16548221 | |
Dan |
Generally I feel very frustrated about WPML as a whole. |