Home›Support›English Support›[Resolved] Products randomly showing "out of stock and unavailable" for no reason!
[Resolved] Products randomly showing "out of stock and unavailable" for no reason!
This thread is resolved. Here is a description of the problem and solution.
Problem: The client reported an issue where variable products randomly displayed as 'out of stock and unavailable' after WPML was uninstalled. The client suspected that WPML might have been uninstalled incorrectly, potentially leaving duplicate variations in the database. Solution: We recommended following a specific guide to ensure that WPML was uninstalled correctly, which can be found here: WPML Reset Guide. If the problem persists after following the reset process, it is unlikely that WPML is the cause. We suggested further investigation by allowing us access to the site to potentially escalate the issue to our second-tier supporters. We also emphasized the importance of security and privacy, advising the client to back up site files and database before providing access, and preferably sharing access to a staging site if available.
Please note that this solution might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at WPML Known Issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please open a new support ticket 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.
Symptoms:
I have a large group of products (not all at the same time) showing the error ‘this product is out of stock and unavailable’. The only temporary solution I have found so far is to edit the product page, click refresh and it goes back to normal for a day or two. The product only displays the message ‘This product is out of stock and unavailable’.
Questions:
How can I solve the problem of variable products randomly showing ‘out of stock and unavailable’?
Is it possible that WPML has left duplicate variations in the database after uninstalling it?
What steps should I take to make sure WPML has been uninstalled correctly?
Is there any way to prevent this error from affecting my sales in the meantime?
If you have correctly followed the reset process, we doubt that WPML is the cause of the problem. However, we will check and determine if WPML is the cause.
Please give me access to your site and allow me to take a copy of your site. For this, I must install a plugin like Duplicator or All In One Migration. I'll then escalate this issue to our second-tier supporters.
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 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.--
Thank you very much for your help. Before I give you access, I wonder if there is also a guide on how to completely remove the Woocommerce Multilingual plugin, similar to the guide you shared for correctly uninstalling wpml.
No, we do not have a separate guide on how to remove WooCommerce Multilingual & Multicurrency. The DB tables are the same for WPML and WooCommerce Multilingual & Multicurrency.
Please let me know how you want to proceed. Meanwhile, I'm NOT enabling a private message for the following reply.
At the moment I can't prove a direct cause with wpml. If anyone else is having this problem, I suggest collaborating on this woocommerce issue: hidden link
It's very difficult to trace the cause, but with the help of a community on the same issue we're managing to narrow down some causes. I hope this can help in some way.