Skip to content Skip to sidebar

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

Problem:
The client was facing an issue where the Arabic version of a product page did not display the 'Choose Weight and Cart' and 'Buy Now' button, showing 'Out of Stock' instead, unlike the English version. This problem affected multiple items.
Solution:
We recommended the following steps:
1. Go to WPML -> Support -> Troubleshooting.
2. Click on 'Synchronize posts taxonomies' for both products and variations.
3. Clear the cache in WPML.
4. Remove ghost entries from the translation tables.
5. Fix element_type collation.
6. Set language information.
7. Synchronize local job IDs.
8. Fix Terms count.
9. Fix post assignment for translations.
After performing these steps, the client should check if the options to select weight and cart appear on the translated product page.

If the issue persists or if this solution becomes outdated, 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 necessary, 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.

This topic contains 13 replies, has 1 voice.

Last updated by Carlos Rojas 6 days, 21 hours ago.

Assisted by: Carlos Rojas.

Author Posts
August 19, 2025 at 12:59 pm #17331404

tamimI

Background of the issue:
I am trying to resolve an issue on my website where the Arabic version of a product page does not display the 'Choose Weight and Cart' and 'Buy Now' button, unlike the English version. The Arabic version shows 'Out of Stock'. This issue is affecting 5-6 items. Here are the links: Arabic version - hidden link, English version - hidden link.

Symptoms:
The Arabic version of the product page shows 'Out of Stock' instead of 'Choose Weight and Cart' and 'Buy Now' button, which are visible on the English version.

Questions:
Why does the Arabic version show 'Out of Stock' instead of the 'Choose Weight and Cart' and 'Buy Now' button?
How can I resolve this issue to ensure the Arabic version displays correctly?

August 19, 2025 at 3:45 pm #17332127

Lauren
WPML Supporter since 10/2015

Languages: English (English )

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

Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with first debugging steps or if I can perhaps help with the issue quickly. Please be sure to make a full backup of your site and database.

Then, go to WPML -> Support -> Troubleshooting.

Look for 'Clean up' and click the following:
- Synchronize posts taxonomies (run for both for products and variations)
- Clear the cache in WPML
- Remove ghost entries from the translation tables
- Fix element_type collation
- Set language information
- Synchronize local job IDs
- Fix Terms count
- Fix post assignment for translations

After this, please let us know if you see the options to select weight and cart on the translated product.

August 20, 2025 at 8:43 am #17333491

tamimI

Hi Lauren,

I have followed your instructions and completed the steps as mentioned, but the issue continues to persist.

August 20, 2025 at 10:42 am #17333761

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'll continue to help you with this issue.

I checked the Arabic product: hidden link.
I can see that the stock is synced now. Please see the attached screenshot. This might be the result of the troubleshooting proceedure. However, I see the problem with missing Weight options (attributes) and the missing Add to Cart button.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please back up the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

August 20, 2025 at 11:44 am #17333960

tamimI

Also, I would like to mention that the 6 variable products are also not showing under this category page in the

Arabic version - showing 14 products, but inside it has only 8 products.
hidden link

English Version - showing 14 products, inside it has all the 14 products.

hidden link

August 26, 2025 at 4:41 pm #17349137

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the access details.

I've checked those issues on your staging site, but can't see them. I checked this product: hidden link.
And this category page: hidden link.
On the product page, I can select attributes and click the Buy Now button. And on the category page, I see 14 products. Please see a video I recorded while checking things on your staging site: hidden link.

Have I missed something, or have you already solved this problem?

Regards,
Itamar.

August 27, 2025 at 7:41 am #17350450

tamimI

Hi,

Can you check the link as non-logged in user. Check the screenshot attached.

hidden link

If you are logged in you can see the weight selection and all the buttons. But if you go to this link as a non logged in user you will see the problem. Try to go to the above link in a different browser.

Screenshot 2025-08-27 104056.png
Screenshot 2025-08-27 104021.png
August 31, 2025 at 6:26 pm #17360848

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Even when I'm logged in, I can see it alright. Please see the attached screenshot. According to your description of the problem, this might be a caching issue. Please ensure that your caching settings are correct.

Regards,
Itamar.

2025-08-31_21-22-41.jpg
September 7, 2025 at 6:54 am #17381514

tamimI

Hi,

I still need assistance on this.

Kindly see the link below as a "customer" without logging in.

hidden link

I have checked the cache setting and cleared it, but it's still not showing.

I have also checked the link in incognito mode, but the same result.

September 8, 2025 at 12:53 pm #17383629

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hello,
My name is Carlos, and I will continue working on this ticket

I have recorded this video following the steps to update the product and showing the results: hidden link

Please follow the same steps using another product and let me know the results.

September 9, 2025 at 11:33 am #17386908

tamimI

Hi Carlos,

I have checked the video and performed the same action, but the issue persists.

I have also checked with disabling the cache plugin, but the results are the same.

This is not related to Elementor, I believe, as we have added single products, and those are working fine in both versions. You can check the single product here - hidden link

September 9, 2025 at 12:33 pm #17387037

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Hi,

I don't understand your message. I can see the product hidden link correctly on incognito mode -see the attached image-

FireShot Capture 163 - عسل مانوكا UMF 10+ (MGO 263+) من داون أندر هني - Honey Valley QA_ - [honeyvalleyqa.com].png
September 9, 2025 at 12:38 pm #17387057

tamimI

Hi,

I have opened the Arabic version at the backend and saved it. After this action, I can see it's working fine. However, two other products are facing the same issue.

1. hidden link

2. hidden link

September 9, 2025 at 1:10 pm #17387252

Carlos Rojas
WPML Supporter since 03/2017

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+02:00)

Have you followed the same steps I described in the video (https://wpml.org/forums/topic/missing-weight-selection-add-to-cart-and-buy-now-button-on-arabic-version-for-variable-products/#post-17383629) with those two products?