This thread is resolved. Here is a description of the problem and solution.
Problem: You are managing a client's website with WPML in three languages (NL, NL-BE, FR-BE) and encountering issues with variable products in WooCommerce Bundle Products showing as 'Out of stock' or 'Temporarily unavailable', despite correct stock settings. You have tried troubleshooting through WPML and WooCommerce Multilingual without success. Solution: The issue might not be related to WPML but could be a known issue with WooCommerce itself, especially if it occurs with the original content. We recommend testing the site with an original content while having WPML and WooCommerce Multilingual (WCML) disabled to confirm if the problem persists. This step will help determine whether the issue is indeed with WooCommerce and not WPML.
If the problem is related to WPML or WCML after testing, please do not hesitate to contact us for further assistance. 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 still persists, 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.
Background of the issue:
I am trying to manage a client website set up with WPML in 3 languages: NL, NL-BE, and FR-BE. NL is the main language, FR-BE is translated automatically, and NL-BE is a copy of NL. The website uses WooCommerce Bundle Products, and I am experiencing issues with variable products in the bundle. The client uses WebToffee import for updating product data. The issue can be seen on this page: hidden link.
Symptoms:
Some variable products in the bundle randomly show up as 'Out of stock' or 'Temporarily unavailable', despite having no 'variable_manage_stock'.
Questions:
Why do some variable products in the bundle show up as 'Out of stock' or 'Temporarily unavailable'?
What steps can I take to ensure the bundled products display correctly every time?
For your info, I already tried several solutions here on the forum.
Including:
WPML -> Support -> Troubleshooting
And
WooCommerce -> WooCommerce Multilingual -> Status -> Troubleshooting (right bottom corner)
Nothing helped 🙁
We really need to be able to rely on that this works correctly everytime.
Languages: English (English )Spanish (Español )German (Deutsch )
Timezone: America/Lima (GMT-05:00)
Hello,
If you created global attributes at Products > Attributes, please make sure that they are translated at WooCommerce -> WooCommerce Multilingual -> Attributes.
You should further see a sync option in the bottom section of this page, if necessary.
Another scenario would be that those attributes were created directly on the original product. Those would be custom attributes that are getting translated and synced once the product is getting translated with the WPML Translation Editor.
Please clarify how those attributes were created and I will be glad to assist you further.
This is the original product (NL) -> Works: hidden link
This is a translation (FR) -> Works: hidden link
This is a copy of NL (BE) -> Does not work (see screenshot): hidden link
Now we have all products set up the same. The products you see in the links up here, are the bundled products in the bundle above.
And these are the original (NL) products in that bundle: hidden link hidden link hidden link
The first one is a global attribute.
Now the last 2 of the links above, are set up exactly the same (custom attributes). The last one does show on every bundle product (Kies het type verankeringsmateriaal), but the second one (Kies aantal wapenfoams (50cm)) does not on the BE, there it shows "Temporarily unavailable".
So if one works, the other one should too. Even more so because its a direct copy of the NL.
But sometimes on a big update, it's other products that show "Out of stock" or "Temporarily unavailable".
Are we doing something wrong, are we missing something? I can't get my head around it.
I did add the WP-admin for you to take a look also in the setup.
When I empty the transients, now the BE is good, but the FR is completely broken and even the NL. Now the FR and the NL both show "Temporarily unavailable" for all the bundled products. See the screenshot attached.
And after emptying them once more, the NL and BE are back working, but the FR are not.