Background of the issue:
I want to import products through the WooCommerce API in the languages French and English. Importing the attributes and categories works just fine. When it comes to creating the products, it just stops and ends the import. There are 615 products in total for each language, and I do it both separately. If I only do it with 100 products, it works. If it's more, it just stops and doesn't create the products.
Symptoms:
The import process stops and ends when trying to create products if the number exceeds 100.
Questions:
Why does the import process stop when trying to create more than 100 products?
How can I successfully import all 615 products in both French and English?
Thank you for contacting WPML support. While you are waiting for one of my colleagues to take this ticket and work on it, let me provide you with the first debugging steps and try to help with the issue quickly.
1) Please update all WPML plugins to the latest version by going to the Plugins → Add New page, click the Commercial tab, and then click Check for updates.
Hi Stefan,
I hope you're doing well. Sorry for the delay in responding due to the weekend.
I have taken over this ticket and will do my best to assist you.
I understand updating the plugin is not an option for you, though we recommend keeping plugins updated for bug fixes and improvements.
While reviewing the WPML Debug Info, I noticed that the `max_execution_time` is set below the recommended value. Setting this to a standard value ensures the script can execute correctly within the given timeframe. Please increase the `max_execution_time` to at least 300 and then try the import again. Follow the guide below for instructions on how to adjust this setting.
- hidden link
If the issue persists, please enable WordPress Debug on your site and attempt the import again. If the process gets stuck, open the debug log, copy the recent errors logged due to this issue, and share that log in your next response. I will check and let you know what to do next.
Looking forward to your response.
Best regards,
Prosenjit
The topic ‘[Closed] Synchronization of Products in languages FR and EN’ is closed to new replies.