Home > Docs > Product Import Export Plugin for WooCommerce > Set Email Alert On Successful Cron Import in a WooCommerce Store

Set Email Alert On Successful Cron Import in a WooCommerce Store

Last updated on March 30, 2026

The Product Import Export Plugin for WooCommerce supports email alerts on successful scheduled (cron) imports. Add one of the code snippets below to the active child theme’s functions.php file to enable notifications.

To add a snippet:

  1. From the WordPress admin dashboard, navigate to Appearance > Theme File Editor.
  2. Under Theme Files, select Theme Functions (functions.php).
  3. Paste the code snippet at the end of the functions.php file of your active child theme.

Email alert on successful cron import

When the cron job is set up, the import will occur according to the configuration. To receive an alert when the auto import or export is successful, simply insert the code snippet below into the functions.php of the active child theme.

In the above snippet, the email subject is ‘Product Auto Import Export’ and the body of the mail is the ‘Product scheduled import completed’. You can replace your personalized email content in the snippet as you prefer.

Email alert with import log

After a successful cron import, you can receive an email containing the import log with the below-mentioned snippet: