Background of the issue:
I am trying to set the stock amount for a variable product at the parent level in the original language and ensure it is reflected in the English version without issue. The issue can be seen on this page: hidden link
Symptoms:
I expected the product to be added when I select the length and add it to the cart, as I have set a stock quantity of 9. Instead, I got an error message: 'You cannot add that amount of "[Product Name]" to the cart because there is not enough stock (0 remaining).' Although in the Arabic version it seems to be fine.
Questions:
Why is the stock quantity not syncing across languages?
How can I ensure the stock amount is correctly reflected in the English version?
To help speed up the support process, I've enabled a private message for submitting the debug information for this support ticket. Please follow these initial debugging steps: https://wpml.org/faq/provide-debug-information-faster-support/
In short:
- Go to "WPML > Support > Debug Information" (link)
- Copy the Debug Information from there.
- Find the private field I activated and paste that information.
Thanks for your reply. I've checked your debug information and I noticed that the installed WPML plugins are outdated. Please backup and navigate to WP > Plugins > Add new > Commercial Tab > Click on Check for Updates.
Then, update all WPML plugins to the latest version and recheck to see if the issue persists.
The topic ‘[Closed] Ensuring that variations and stock quantity is synced across languages’ is closed to new replies.