Passer au contenu Passer à la barre latérale

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par bernardL-9 Il y a 1 année et 3 mois.

Assisté par: Kor.

Auteur Messages
Septembre 11, 2024 à 4:54 pm

bernardL-9

Background of the issue:
I am working on a site lien caché and using the WPML plugin along with WooCommerce. I have encountered an issue where new products created in the native language French don't show up in the English translated language because they seem to be out of stock. I have investigated and found that to resolve the issue, I need to force the field "_stock" to copy (instead of ignore) and disable a custom plugin of mine that gathers all WooCommerce related functions and styles. Before investigating what's wrong with my code, I need to understand why "_stock" is set to "ignore" and not "copy" by default. The screen capture does not show the lock anymore for _stock presumably because I have already tried to set the field to copy.

Symptoms:
New products created in French don't show up in English because they seem to be out of stock.

Questions:
Why is the custom field "_stock" set to "ignore" under wpml-config.xml file for the WooCommerce Multilingual plugin?
Why are new products created in French not showing up in English due to being out of stock?