Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is experiencing an issue where only one product variation (XL) is visible in the French version of their WooCommerce site, while all variations are available in the English version. Additionally, the client is unable to edit the French variations as they are locked.
Solution:
If you're experiencing this issue, we recommend the following steps:
1. Translate product variations via WooCommerce >> WooCommerce Multilingual > Attributes tab, then press the 'Synchronize attributes and update product variations' button. Ensure you back up your site first. For more details, visit our documentation.
2. Increase the WP Memory Limit by adding the following code to your wp-config.php file:

/* WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

3. Upgrade your PHP version to 7.4 or above and update WordPress to the latest version.
4. Update WPML to the latest version by going to Plugins >> Add New page, clicking the Commercial tab, and then clicking the “Check for updates” button. Also, update WooCommerce, WooCommerce Multilingual, and all other plugins and themes to their latest versions.
5. Navigate to WPML >> Support >> Troubleshooting page and press the following buttons:
- Clear the cache in WPML
- [Products] Synchronize posts taxonomies
- Remove ghost entries from the translation tables
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
- Assign translation status to duplicated content
- Fix post type assignment for translations
- Set language information
6. Go to WooCommerce >> WooCommerce Multilingual > Attributes tab, select the problematic attribute, and press the 'Synchronize attributes and update product variations' button if enabled.
7. Visit the WooCommerce >> WooCommerce Multilingual >> Settings tab >> Troubleshooting link (bottom right), select all options, and click on 'Start' button.
If these steps do not resolve your issue, or if the solution seems outdated or irrelevant to your 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. Additionally, please feel free to open a new support ticket for further assistance at our support forum.

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.

This topic contains 1 reply, has 2 voices.

Last updated by Noman 2 years, 10 months ago.

Assisted by: Noman.

Author Posts
July 25, 2022 at 6:20 pm #11735669

predragC

I am trying to:
Basically we have products with multiple variations, for example this one:
hidden link

If you switch to French for example, only XL is showing while english / main version will show all available variations.
hidden link

Link to a page where the issue can be seen:
See above

I expected to see:
I expect to see same variations on both language versions.

Instead, I got:
I just got Variation XL.

Within backend, I'm unable to edit French variations. They are locked out.

July 26, 2022 at 7:39 am #11738459

Noman
WPML Supporter since 06/2016

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. You should be able to translate product variations from WooCommerce >> WooCommerce Multilingual > Attributes tab and after that, you need to press the Synchronize attributes and update product variations button, please make sure to take a backup of your site first for security reasons.

Here is a doc for more details:
https://wpml.org/documentation/related-projects/woocommerce-multilingual/#variations

If still an issue persists, please follow the below steps:

1. Please take a backup of your site first for security reasons.

2. I have noticed that your website’s WP Memory Limit is 40MB. The WP memory limit needs to be increased, it's different from PHP memory. PHP memory is fine but WordPress uses 40Mb as default in your site. Minimum requirements for WPML are 128Mb: https://wpml.org/home/minimum-requirements/

Please add this to the top of wp-config.php to increase WP memory:

/* WP Memory Limit */
define('WP_MEMORY_LIMIT', '256M');

3. Please Upgrade the PHP version to 7.4 or above, as this is required by WordPress: https://wordpress.org/about/requirements/

4. Please Update WordPress to the latest version.

5. We have recently released WPML 4.5.8, please update it to the latest version and see if this resolves your issue.

You can update it from Plugins >> Add New page, click the Commercial tab, and then click the “Check for updates” button. Here is the screenshot for more details:
https://wpml.org/wp-content/uploads/2020/04/wpml-force-plugin-update-1.png

5. Please update WooCommerce and WooCommerce Multilingual to the latest version.

6. Please update all other plugins and your current theme to the latest versions, if needed.

7. Please go to WPML >> Support >> Troubleshooting page and press the below buttons:
- Clear the cache in WPML
- [Products] Synchronize posts taxonomies
- Remove ghost entries from the translation tables
- Synchronize local job ids with ATE jobs
- Synchronize translators and translation managers with ATE
- Assign translation status to duplicated content
- Fix post type assignment for translations
- Set language information

8. Please go to WooCommerce >> WooCommerce Multilingual > Attributes tab and select the attribute in which you are facing an issue and press the "Synchronize attributes and update product variations" button if it's enabled.

9. Please Go to Woocommerce >> Woocommerce Multilingual >> Settings tab >> Troubleshooting link (bottom right) > Select all options and click on 'Start' button.

Please let me know if this resolves your issue or if you need further assistance with this issue.

Thank you