Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
You are using the legacy WPML All Import addon to import products in multiple languages and connect them, and you want to switch to the new WPML Export and Import format. However, you are unsure how to run WPML Import via a cron task after the imports are completed without access to WP-CLI.
Solution:
Currently, there is no direct option to run cron for the WPML Import Export plugin. You can continue using the WP All Import plugin and its cron functionality to handle the imports, and then manually re-run the WPML Import Export. Alternatively, you could create a custom cron task for this purpose. Unfortunately, we do not have any documentation on hooks in WPML Import at this time. For more details on the WPML Export and Import process, please visit WPML Export and Import documentation.

If this solution does not apply to your case, or if it seems outdated, 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 further assistance is needed, please open a new support ticket.

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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Dražen 8 months, 1 week ago.

Assisted by: Dražen.

Author Posts
July 23, 2024 at 3:28 pm #15993170

Ralph Klerk

Background of the issue:
Currently we are using the legacy WPML All Import addon to import our products in 2 languages and connect them together. This works fine with WP All import imports running on a crontask. We are looking to convert the legacy imports to the new WPML Export and Import format. We have read the documentation and it looks quite easy to convert.

Symptoms:
We don't see how we can run WPML Import via (WP) cron after the imports are completed.

Questions:
How can we run WPML Import via crontask if we (or someone else) don’t have access to the WP-CLI?

July 24, 2024 at 6:33 am #15996040

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

there is no out-of-the-box option for cron for the WPML Import Export plugin, the only way would be using the WP All Import plugin and its cron to import and then re-running WPML Import Export manually or creating a custom cron for that.

https://wpml.org/documentation/related-projects/wpml-export-and-import/

Hope this helps.

Regards,
Drazen

July 24, 2024 at 7:36 am #15996494

Ralph Klerk

Thanks for your answer, maybe you can make a feature request of this then? (run WPML Import using wp-cron.php / wp-load.php) We think this is an important feature if you want to offer the same user experience/functionality as the legacy WPML All Import addon.

In the meantime we will have a go on the custom cron. Is there any documentation available about hooks in WPML Import?

July 24, 2024 at 9:38 am #15997380

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

I am afraid this was never provided inside WPML All Import but as part of the WP All Import plugin, which you can still use.

As for hooks we do not have any or related documentation to share currently.

As for the feature request, sure I will open and create a ticket for this.

Regards,
Drazen