Home›Support›English Support›[Resolved] Product Variants disappear in WooCommerce Multilingual & Multicurrency 5.3.2 or later
[Resolved] Product Variants disappear in WooCommerce Multilingual & Multicurrency 5.3.2 or later
This thread is resolved. Here is a description of the problem and solution.
Problem: If you're experiencing issues with product variants disappearing after updating WooCommerce Multilingual & Multicurrency to version 5.3.9, it might be due to conflicts with other plugins or themes. Solution: We recommend the following steps to troubleshoot and resolve the issue: 1. Ensure that only WooCommerce, WPML, and our addons are enabled when updating to the latest version of WooCommerce Multilingual & Multicurrency. 2. If the issue persists, try enabling all plugins and the child theme again to check if the problem still does not occur. 3. On your live site, delete any minified files created by Assets Cleaner PRO and clear the site's cache before updating. 4. Check for configuration issues under WooCommerce > WooCommerce Multilingual & Multi-Currency > Status. 5. Go to WPML > Settings > Post Type Translation and set "Variations (product_variation)" to "Translatable - only show translated items" and save the settings. 6. In WPML > Settings > Custom Fields Translation, click "Show system fields" and set the field
_crosssell_ids
to "Translate". If these steps do not resolve the issue, the solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance.
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.
Background of the issue:
I am using WooCommerce Multilingual & Multicurrency 5.3.2 on my site hidden link. I want to update to the newest version, but I encounter issues with product variants disappearing.
Symptoms:
When I update to version 5.3.9 and change anything on product variants, all the variants disappear. This issue does not occur in version 5.3.0.
Questions:
Why do product variants disappear when updating to WooCommerce Multilingual & Multicurrency 5.3.9?
How can I prevent product variants from disappearing after updating?
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.
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.
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
Please be sure to back up the site and database before granting us access.
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: hidden link
The next time you reply, click on "I still need assistance".
Video: hidden link
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.
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.
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.
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:
Go to WPML > Settings > Post Type Translation and set "Variations (product_variation)" to "Translatable only show translated items. Make sure to save the settings at the end of this section.
Then on WPML > Settings > Custom Fields Translation click "Show system fields" and set the field "_crosssell_ids" to "Translate".
Go to WPML > Settings > Post Type Translation and set "Variations (product_variation)" to "Translatable only show translated items. Make sure to save the settings at the end of this section.