Skip to content Skip to sidebar

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

Problem:
You have created a variable product in French on your WooCommerce site, and while it works perfectly in French, the English version has issues with mismatched variation images and incorrect pricing. This problem occurs when switching to the English version of the product.
Solution:
After extensive testing, we discovered that the issue is related to the PHP version used on your server. Specifically, the problem replicates with PHP 7.4.33 but not with newer versions. We recommend updating your server's PHP version to at least PHP 8.1 or PHP 8.2. After updating, please test the English version of your product again to see if the issue persists.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable 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 continue, please do not hesitate to open a new support ticket with us for further assistance at WPML 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 53 replies, has 0 voices.

Last updated by kisa 1 month, 3 weeks ago.

Assisted by: Lauren.

Author Posts
May 30, 2025 at 2:47 pm #17092636

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Also, I'm trying to grab a screencast to show our 2nd tier support the price issue. The product I was testing on before is now showing the correct prices in both languages and the correct order (hidden link). Do you have another product where the prices are incorrect still? I don't have access to the live site, if you want to share it in the private fields of the next reply, I can login and search by the product sku. Thanks!

May 30, 2025 at 5:37 pm #17093059

kisa

Yes, this reference now works because we removed the English version, which was causing major issues. We can't add it back in, as it would mislead users. However, you can check with this product on the live website: TH29892 — you'll see that in English, the variations behave incorrectly. We were able to leave that product online because the price is the same, but if the pricing had been different, we would have had to remove the English version as well.

In the meantime, I’ll start reactivating the extensions one by one (in groups of five like you said) on the demo site to see if any of them are causing bugs with the product we were testing.

May 30, 2025 at 5:48 pm #17093071

kisa

This is really strange — I just reactivated everything, both the extensions and the theme, exactly like on the live site, and everything is working fine. The product variations didn't get mixed up at all...

Could it be that the product is fine when it's created, but the bug happens only while creating a new product with everything already activated? I don't know..

May 30, 2025 at 6:01 pm #17093120

kisa

I think that might be it — I just created a new test product on the demo site: TH19534, and after translating it, everything ended up completely out of order again. So it really seems like the issue happens during product creation, when everything (theme + extensions) is already active.

Also, is it normal that in the WPML translation interface, the variation name always appears second-to-last? I'm not sure if it’s related, but I thought it was worth mentioning just in case.

Capture d’écran 2025-05-30 200047.png
May 30, 2025 at 9:09 pm #17093450

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I don't think the placement of the variation is an issue. However, we need to test on the staging site back in minimal and create a new product and see if the issue is happening. If not, then again activate a few plugins at a time and create another test product until the issue returns.

If the issue is happening on the staging site with no plugins active, let me know. Thanks!

May 31, 2025 at 3:51 pm #17094445

kisa

I just followed your instructions, and it seems that the plugin causing the variations to bug out is "Advanced Custom Fields Multilingual." What can I do about this?
Also, regarding the lavender option for the other product, it was present in the minimal configuration.

June 2, 2025 at 3:50 pm #17098634

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I noticed there were a few other plugins active, so I deactivated those and created a few test variable products. I was not able to reproduce the problem. Can you please take a look at the products I created? I created the product, added a custom attribute, created the variations and translated using the WPML editor. Are there any different steps that you took? I made sure that ACF and ACF Multilingual remained active.

hidden link
hidden link

June 2, 2025 at 5:59 pm #17099201

kisa

Hi Lauren,
No, it's still not working. As I mentioned before, the issue only resolves when I deactivate the Advanced Custom Fields Multilingual plugin.
I haven’t changed the plugins you activated or deactivated. I completely deleted the English translation of TH19534, and when I retranslate it, all the variations are still incorrect.
I had already tested this earlier, and it only works properly when ACF Multilingual is deactivated.
You can try doing the same as I did — you’ll see that all the variations on this product will be mixed up.

June 3, 2025 at 3:24 pm #17103056

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

I've escalated this new information about ACFML to our 2nd tier support. I'm still not able to recreate the issue if I create a brand new product with ACFML enabled (hidden link translated correctly with ACFML active) but I do see that if I delete a translation from a product that already had the issue and retranslate it without ACFML, it works. If I activate ACFML again, it does not work. So it seems something was corrupted but for some reason, I can't reproduce when adding a new product. Perhaps I'm doing something differently. Regardless, this is escalated and I'll update here if they need further information and hope to have a solution soon.

June 3, 2025 at 4:42 pm #17103533

kisa

Hi Lauren,
Thanks for bringing this up. I recorded a video to show you how I create a product listing, and I kept the plugins activated just as you had them. I also pointed them out in the video. The issue does appear during the process, so hopefully this will help you troubleshoot it.
Thanks in advance!
The link to download the video: hidden link

June 3, 2025 at 8:09 pm #17104031

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks so much for this screencast. I think we are getting closer. The difference between your process and mine is that I wasn't selecting any of the custom fields. I've updated our 2nd tier with this additional information and shared. your screencast. I'll update soon!

June 4, 2025 at 10:54 am #17105910

kisa

Thank you, Lauren! I'll wait to hear back from you once you've received their response 🙂

June 12, 2025 at 5:48 pm #17131121

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

We are continuing to test this issue, however, after updating WooCommerce on the staging site, I just created another new product and made sure to check some of the page produits because that was what was different between my earlier test and yours. Now, it shows correctly in both langauges. Can you double check my latest test product and let me know if it looks correct to you? If you crate another test on staging, do you still see the issue?
My lateset test:
hidden link

June 13, 2025 at 11:28 am #17133106

kisa

Hello Lauren,
Thank you for your follow-up. I have just created a new product, but the issue remains the same. The only difference I see compared to your last created product is that I added an image, set it to backorder, and translated some of the variations. I’m wondering if the translation of the variations might be causing the glitch.
Thank you in advance for your response, as we are still facing difficulties.

June 19, 2025 at 11:09 am #17150081

Lauren
WPML Supporter since 10/2015

Languages: English (English )

Timezone: America/New_York (GMT-04:00)

Thanks so much for noting the differences, this is still escalated to our 2nd tier suppport and hopefully this will help us figure out what is causing this issue.