You can sync WooCommerce coupons with Mailchimp as promo codes.
This allows your coupons to be used in Mailchimp automations, such as abandoned cart emails.
This feature has been available since MC4WP Premium 4.5.
Before you start
- Make sure your store is connected through MC4WP > E-commerce.
- Make sure coupon tracking is not disabled by custom code.
- Make sure your coupon is in published status.
How coupon sync works
After your store is connected, the plugin listens for coupon changes in WooCommerce.
- When a coupon is published, it is queued to be created or updated as a promo code in Mailchimp.
- When a coupon is moved out of published status (for example draft, private, or trash), it is queued for removal from Mailchimp promo codes.
- When a coupon is deleted, it is also queued for removal from Mailchimp promo codes.
Coupon sync is processed in the background, so changes are usually not instant.
If you want faster processing, you can run the queue manually from the e-commerce settings page, or use the e-commerce WP-CLI commands.
Common reasons coupons do not appear in Mailchimp
The coupon is not published
Only published WooCommerce coupons are synced as promo codes.
The queue has not processed yet
Coupon sync runs in the background and can take a few minutes.
Coupon tracking was disabled in custom code
Developers can disable coupon sync by filtering mc4wp_ecommerce_enable_coupon_tracking to false.
Using promo codes in Mailchimp
Once synced, coupons are available in Mailchimp as promo codes for your connected store.
You can use them in automations that support promo codes, including abandoned cart emails. If you have not enabled abandoned cart yet, see Enabling abandoned cart recovery.