This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is trying to import all orders in all languages from their website into the Sendcloud platform, but only orders in Dutch (the default language) are being imported.
Solution:
We recommend checking the Sendcloud documentation for information on importing orders to their platform, as the issue seems to be related to Sendcloud rather than WPML. However, to retrieve orders in secondary languages using the WordPress REST API, you can make a request like the following:
$orders = $woocommerce->get('orders', array( 'per_page' => 25, 'lang' => 'fr' ));
For more details, please refer to our documentation on Using WordPress REST API with WooCommerce Multilingual.
Please note that this solution might be irrelevant if it's outdated or not applicable to your case. If you continue to experience issues, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket with us.
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 3 replies, has 2 voices.
Last updated by 7 months, 2 weeks ago.
Assisted by: Andrey.