Background of the issue:
We are building a new website similar to our current one due to issues with updating some plugins. The website builder needs to understand the relationship in the database between different language versions of a post and a WooCommerce product.
Symptoms:
No specific issue or error message mentioned.
Questions:
How can I retrieve the link between posts in different languages when looking them up in the database?
Hi, I would like to know how I can match the 3 post for 1 product from WooCommerce for the 3 languages. So which field / ID etc. to look for in which table 🙂
Thanks for getting back to me. I’m not entirely sure I understand what you're trying to achieve. You can review the WPML database structure here: https://wpml.org/documentation/support/wpml-tables it explains how the tables are organized.
However, I'm not clear on what you mean by “connecting posts to a product” and how that relates to this setup. Could you please clarify?
Hi, what I'm working on now is to convert products to a new shop.
This shop is a bit different when it comes to languages. There is 1 product with 3 languages.
In WooCommerce/WPML there are 3 posts (products?).
What I'm now doing is see if, with the tips you gave me, I can figure out how to get this data in a way so it can be imported without too much manual work.
Slowly getting things done.
Hope to get it ready this week. Will close the ticket when I'm confident enough to finish it.