Skip Navigation

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.

This topic contains 7 replies, has 0 voices.

Last updated by Ton 5 days, 15 hours ago.

Assisted by: Andreas W..

Author Posts
November 8, 2024 at 6:57 am

Ton

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?

November 8, 2024 at 7:31 am #16380704

Ton

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.

Please help us fix this.

November 8, 2024 at 10:40 pm #16383651

Andreas W.
Supporter

Languages: English (English ) 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.

Best regards
Andreas

November 9, 2024 at 8:58 am #16384026

Ton

Hello Andreas,

Its like this:

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.

Kind regards

not-working.png
November 9, 2024 at 9:26 am #16384095

Ton

Well stuff gets weirder.

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.

This is so inconsistent.

fr-gone-wrong.png
November 9, 2024 at 1:00 pm #16384420

Ton

I updated the variable products (with no actual changes). These products are those that are in the bundle products.

Now it works. Please tell me why this happens and why this is not correct by default, and wrong so randomly :/

November 11, 2024 at 6:42 am #16386734

Ton

Since it also happened on the NL (default lang) I am now doubting if it is WPML.
It more and more seems like this is the same issue:
hidden link

What do you guys think?

November 11, 2024 at 3:06 pm #16389368

Andreas W.
Supporter

Languages: English (English ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

Sorry for the dealy on answering, as I am not longer working on weekends.

In fact, this could be related to the known WooCommerce issue, if this issue occurs also on original content.

Try testing with an original content while having WPML and WCML disabled. This would confirm that it is not a WPML issue.

If you need any further assistance with investigating this, in case it appears to be connected to WPML or WCML, then I will be glad to help.

Best regards
Andreas

November 13, 2024 at 9:37 am #16396206

Ton

Hello Andreas,

Thanks for your time.
Seems like this is not an issue from WPML.