Abandoned cart recovery (feature)
Overview
Optional reminders for carts that sit idle after a shopper left an email (account or checkout). Default off.
How It Works
Trackerrecords cart snapshots.- After Abandonment threshold, cron
aiwsa_cart_recoverysends email #1 (then optional #2/#3). - Email contains a signed restore link (
aiwsa_recover) and unsubscribe (aiwsa_unsub). Restorerreloads the WooCommerce cart and redirects to Cart, Checkout, or a custom URL.- Placing an order marks the cart recovered (
aiwsa_cart_recovery_recovered).
Consent checkbox can be required at checkout (classic + Blocks Store API).
How to Enable It
WooCommerce → AI Assistant → Cart Recovery → Settings → Enable abandoned cart recovery. Configure From email and templates. Keep Require marketing consent on unless you have another process.
Configuration
Frontend Usage
Shopper abandons checkout → later email → Restore cart → WooCommerce cart/checkout. Unsubscribe link stops further recovery mail.
Example
$120 cart idle 60 minutes, consent ticked → one friendly reminder → shopper restores cart.
Behavior
| Situation | What happens |
|---|---|
| No email | Cannot send |
| Consent required and missing | No send |
| Below minimum value | Skipped |
| AI on but no key | Template copy |
| WP-Cron starved | Delays until traffic hits wp-cron |
Limitations
- Relies on WP-Cron unless you add a system cron.
- Not Klaviyo/Mailchimp.
- Admin masks emails; guests without email never get mail.
Troubleshooting
No emails: feature off, cron, consent, empty From, host mail. Link 404: pretty permalinks / query args stripped by a security plugin.