Symptoms:
The stock for some variable products is not synchronized between the original language and the translations, showing incorrect stock levels.
Questions:
Why is the stock not synchronized between the original language and translations?
How can I manually adjust the stock if the fields are locked by WPML?
I understand that the stock information is not synchronized across the translated products. Could you please try the following steps to see if it helps resolve the issue?
1. Go to the "WooCommerce > WooCommerce Multilingual > Attributes" tab.
2. Select the Attribute from which the variations have been created.
3. At the bottom, you'll see a button to synchronize the attributes. Click on that button and complete the attribute synchronization.
4. Once done, go to the "Status" tab.
5. Scroll down a bit until you find a link named "Troubleshooting" and click on it.
6. Select the options marked in this screenshot( hidden link ) and click the "Start" button.
The steps above most of the time help in fixing issues related to Stock synchronization and I hope it will help in your case too. Please feel free to let me know if you need further assistance in this matter. I will be happy to help.
Upon rechecking the WPML Debug Info, I noticed that the field storing the stock information is set to "not translatable." This could be preventing stock information from synchronizing across languages. Please follow the steps below to address this and see if it resolves the issue:
1. Navigate to "WPML → Settings → Custom Fields Translation".
2. Click on "Show System Fields".
3. Once the page reloads, use the search box within the custom field translation section to search for `_stock`.
4. If the `_stock` field appears in the results, set its translation preference to "Copy" and save the changes.
5. After that, retry the stock synchronization process mentioned in my earlier response.
6. Finally, clear your site and browser caches and check if the issue is resolved.
I hope these steps will help in solving the issue. But, if the issue persists, I'll be happy to take a closer look at the issue and assist you further in this matter.
Best regards,
Prosenjit
The topic ‘[Closed] Variable product stock not synchronized’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.