GUARDLABS
GuardLabs · Technical note

Set Up Abandoned Cart Recovery Emails on WooCommerce: Step-by-Step Guide

Abandoned cart emails automatically follow up with shoppers who leave items in their WooCommerce cart without completing checkout. Setting this up requires email delivery configuration, cart tracking, and automated timing sequences.

1. Ensure Email Deliverability (SMTP Setup)

Default WordPress PHP mail is unreliable and frequently ends up in spam folders. Before configuring tracking, ensure your store uses an SMTP plugin (such as FluentSMTP or WP Mail SMTP) connected to a dedicated mail provider like SendGrid, Mailgun, or Amazon SES.

Alternatively, define custom SMTP parameters in your wp-config.php file:

define( 'SMTP_HOST', 'smtp.yourprovider.com' );
define( 'SMTP_PORT', '587' );
define( 'SMTP_NAME', 'Your Store Name' );
define( 'SMTP_USER', 'your-username@domain.com' );
define( 'SMTP_PASS', 'your-smtp-password' );
define( 'SMTP_SECURE', 'tls' );
define( 'SMTP_AUTH', true );

2. Install a Cart Tracking Plugin

WooCommerce core does not track abandoned carts natively. Use a standard tracking plugin such as Abandoned Cart Lite for WooCommerce or AutomateWoo.

  1. Navigate to WordPress Admin > Plugins > Add New.
  2. Search for Abandoned Cart Lite for WooCommerce.
  3. Click Install Now, then click Activate.

3. Configure Tracking Cut-Off and Guest Capture

Define when a session is officially treated as abandoned and ensure guest user data is captured early in the checkout process.

  1. Go to WooCommerce > Abandoned Carts > Settings.
  2. Set Cart abandoned cut-off time to 20 minutes. Carts inactive for this duration switch from active to abandoned status.
  3. Enable Capture email address from checkout fields. This executes JavaScript to capture the email address instantly as soon as the user types it into the billing field.
  4. Enable Automatically exclude recovered orders so customers stop receiving recovery emails immediately after buying.

4. Configure the Email Sequence and Templates

Navigate to WooCommerce > Abandoned Carts > Email Templates to configure your recovery cadence.

  • Email 1 (1 hour post-abandonment): Friendly customer service check-in. Ask if technical issues occurred during checkout and supply a direct link back to their cart.
  • Email 2 (24 hours post-abandonment): Social proof/reminder. Show product reviews or offer a low-friction incentive.
  • Email 3 (48 hours post-abandonment): Final notice. State that the cart reservation will expire soon.

Insert dynamic variables into your template HTML body to populate custom customer data:

  • {{customer.firstname}} – Billing first name
  • {{cart.checkout_url}} – Direct URL that restores cart items upon landing on checkout
  • {{products.cart}} – Table display of abandoned items, thumbnails, and prices

5. Test the Setup

  1. Open an Incognito / Private browser window.
  2. Add a WooCommerce product to the cart and click Proceed to Checkout.
  3. Type a test email address into the Email field, then close the tab without placing the order.
  4. Go to WooCommerce > Abandoned Carts > Abandoned Orders in your admin panel after 20 minutes to verify the cart was logged.
  5. Check your test email account, click the recovery link, and confirm the cart restores correctly.

Need this done? We handle this hands-on at GuardLabs — get in touch for a quote.

Published 2026-07-30 2 min read All articles
Need help with this?

I take on freelance fixes and builds in this area.