Skip to content Skip to sidebar

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

Problem:

The client reported an issue where enabling WPML String Translation caused the product page to display correctly only in the original language, not in the translated language. Additionally, enabling the Single Product Layout resulted in a blank page.

Solution:

We conducted tests and found that the issue was specific to the client's server. A workaround that resolved the problem involved setting the AJAX Variation Threshold value to a lower number, specifically 10. This adjustment helps in loading variation data only when necessary, improving page performance and reducing memory usage. We recommended that the client apply this change to their live site after ensuring a full backup.

If this solution does not resolve your issue, or if it 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. If problems persist, please open a new support ticket 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.

Tagged: 

This topic contains 33 replies, has 0 voices.

Last updated by Bigul 4 months, 1 week ago.

Assisted by: Bigul.

Author Posts
June 23, 2025 at 4:09 pm #17161744

Bigul

Hi Xavier,

Our development team is currently reviewing this case. We will get back to you as soon as possible. Thank you for your continued patience.

--
Thanks!

Bigul

June 30, 2025 at 3:52 am #17181181

xavierC-5

Hi Bigul,

Do you have any news about this issue?

Thanks and regards,
Xavier

June 30, 2025 at 7:58 am #17181554

Bigul

Hi Xavier,

We are doing our final round of testing and will get back to you as soon as possible, most likely by tomorrow. Thank you for your patience. Please wait.

--
Thanks!

Bigul

July 6, 2025 at 6:56 pm #17205411

Bigul

Hi Xavier,

We did another round of testing after updating to the latest versions of WooCommerce and WooCommerce Multilingual. Our developers also rechecked the issue thoroughly. Based on our tests, this problem seems to be related to your hosting setup. As we mentioned before, we don’t see the issue on our test servers, including on Cloudways hosting.

Therefore, the most effective and straightforward workaround in this case is to set a low AJAX variation threshold value. We are recommending this solution due to the following benefits:

Setting the threshold to 10 generally results in better performance compared to a higher value, like 400. With a lower threshold, WooCommerce loads variation data only when needed, which helps keep the product pages lighter and faster, especially on mobile devices and slower connections.

But if the threshold is set too high (like 400), WooCommerce will try to load all variation data at once. This can make the page slower and use more memory.

Using a lower value like 10 offers better performance unless you are running on a high-powered server and specifically require all variation data to be preloaded.

Please try this adjustment on your live site after taking a full backup, and let us know your feedback.

--
Thanks!

Bigul