Skip Navigation

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

Problem:
You are trying to sync stock on your site using WPML, but the stock is not synced in the translated language, showing as out of stock.
Solution:
If you're experiencing this issue, we recommend you follow these steps:
1. Take a backup of your site's database in case something goes wrong.
2. Navigate to WooCommerce -> WooCommerce Multilingual & Multicurrency -> Settings -> Troubleshooting link. Here you can find the direct link to this screen: Troubleshooting Settings
3. Select the following options:
- Sync product stock quantity and status (synchronizing minimum stock between translations)
- Fix translated variations relationships
- Sync removed product meta from original products to translations
4. Click the 'Start' button and wait for the process to finish.
5. Refresh the translated product and check if the problem is fixed.

Please note that this solution might be 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 the issue persists, please open a new support ticket.

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 2 replies, has 0 voices.

Last updated by simeonN-2 3 weeks, 1 day ago.

Assisted by: Itamar.

Author Posts
November 9, 2024 at 3:39 pm #16384575

simeonN-2

Background of the issue:
I am trying to sync stock on my site using WPML. The stock is not synced in the translated language. It shows out of stock in the translated product

Symptoms:
The stock is not synced in the translated language.

Questions:
Please help

November 10, 2024 at 6:11 pm #16386037

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

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

Hi,

If it is a variable product, you face the following known issue.

https://wpml.org/errata/woocommerce-multilingual-variable-product-stock-status-is-not-updated-when-it-gets-out-of-stock-in-the-second-language/

To fix it, please apply the suggested workaround.

Regards,
Itamar.

November 10, 2024 at 10:03 pm #16386166

simeonN-2

I have done it and it doesnt work.

Screenshot 2024-11-11 at 0.03.15.png
Screenshot 2024-11-11 at 0.01.41.png
November 11, 2024 at 2:54 pm #16389275

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

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

Hi, and thanks for trying my suggestions.

If you need further help with this, please share the access details to your site with me. Please send me a link to a product with this problem. 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 backup 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.

November 12, 2024 at 2:19 pm #16393118

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

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

Hi, and thanks for the access details.

I could see the problem with this Spanish product.

hidden link

Please follow these steps.

1. Take a backup of the DB of your site in case something goes wrong.

2. Go to WooCommerce -> WooCommerce Multilingual & Multicurrency -> Settings -> Troubleshooting link. This is the direct link to this screen.

hidden link

3. The following options:

- Sync product stock quantity and status ( synchronizing min stock between translations )
- Fix translated variations relationships
- Sync removed product meta from original products to translations

4. Click the Start button and wait for the process to finish.

Refresh the translated product and check if the problem is fixed.


**** Important! Backup the DB of your site before you proceed with those steps****

Regards,
Itamar.

2024-11-12_16-13-02.jpg
November 12, 2024 at 5:13 pm #16393959

simeonN-2

I have done that but it still doesn't work.
I also cleared the cache after doing it.

The strange thing is that if I refresh the page it shows again things that I need to sync. See the screenshot.

Could it because I have missed translating something that is located in a plugin, like the subscription plugin or wholesale prices premium?

Screenshot 2024-11-12 at 19.11.44.png
Screenshot 2024-11-12 at 19.11.26.png