1. Documentation /
  2. Abandoned Cart Recovery with Dynamic Coupons for WooCommerce

Abandoned Cart Recovery with Dynamic Coupons for WooCommerce


↑ Back to top

PHP 7.1.8

WordPress’s minimum version must be 5.3.


↑ Back to top

Upon successfully installing and activating the plugin, there are two pathways to access the plugin settings:

Dashboard > Plugins > Installed Plugins > Abandoned Cart Recovery with Dynamic Coupons > Settings.

Dashboard > WooCommerce > ELEX Abandoned Cart > Settings.

The plugin settings are conveniently categorized into five tabs: Dashboard, Cart Details, Email Configuration, Email Logs, and Help & Support. To begin configuring the plugin, navigate to Settings > General Settings.

General Settings

↑ Back to top

Within this section, you have the ability to customize various general settings pertaining to recovery emails. These settings include aspects like the time limit for abandoned orders, removal of abandoned orders, abandoned cart settings for guest users, email address configuration, GDPR email setup, and more.


↑ Back to top
Configuration | Abandoned Cart

Enable Abandoned Cart: To enable the recovery of abandoned carts, activate this toggle switch.

WooCommerce Order Status to Consider an Order as Successful: Indicate the order statuses that show a successfully recovered and confirmed order, ready for fulfillment. The plugin will assess abandoned carts and recovered purchases based on these statuses.

WooCommerce Order Status to Consider an Order as Successful

Abandoned Cart Time Interval: Establish a specified duration after which an order shall be deemed abandoned. The duration will begin upon the addition of a product to the visitor’s cart and their subsequent progression to the checkout page. If no activity occurs on either page during the designated time interval, the cart shall be regarded as abandoned.

Set Abandoned Cart to be Expired: Specify a specific duration for the removal of carts from the cart details page if they have been abandoned for a certain period. Repeatedly sending recovery emails to uninterested customers increases the risk that they may be marked as spam.

Set Abandoned Cart to be Expired | Abandoned Cart

Guest Users

↑ Back to top

Capture Abandoned Cart for Guest Users: If you want to track abandoned carts for unregistered or guest users, activate this button. Enabling this functionality will prompt your website to send abandoned cart emails to guests who initiated a shopping session but did not finalize their purchase.

Capture only the Valid Email Format: To make sure that only valid email addresses are gathered from guest visitors for the purpose of sending abandoned cart emails, activate the Capture only the Valid Email Format button. This feature saves you the inconvenience of sending abandoned cart emails to invalid email addresses.

Enable Recovery for Unregistered Guest Users


↑ Back to top

Email Notification to Shop Owner on Cart Recovery: Enable this option to send email notifications to the store owner or adminstrator when a recovered abandoned cart is detected.

Email to receive notification: Please enter the email address where you wish to receive notifications related to abandoned cart recovery.

Email Subject: Enter the subject line for the email notification regarding the recovery of abandoned carts.

Email Body: Utilize the provided shortcodes to compose and personalize the email notification for recovering abandoned carts.

  • Customer First Name – [customer_firstname]
  • Customer Last Name – [customer_lastname]
  • Recovered Cart Products – [recovered_cart_porducts]
  • Coupon Code – [applied_coupon]
  • Number of Mail Sent – [no_of_mail_sent]
  • User Email – [user_email]
  • Shipping Address – [shipping_address]
  • Recovered Amount – [total_amount_recovered]
  • Coupon Amount – [coupon_amount]
  • Billing Email – [billing_email]
  • Cart ID – [cart_id]
  • Cart abandonment time – [cart_end_time]

You have the option to modify the default email template provided by the plugin according to your requirements.

Stay Notified with Recovery Email Notifications

This is an example of the email that will be sent to the store’s administrator or owner when an abandoned shopping cart has been recovered.

Email Notification to Shop Owner on Cart Recovery

GDPR Message Configuration

↑ Back to top

Show On Shop Page: Present a personalized notification regarding adherence to GDPR regulations on the Shop page.

Show On Product Page: Present a personalized notification regarding adherence to GDPR regulations on each specific product page.

Show On Product Page

GDPR for message: If you wish to show a message about GDPR compliance, enter it here.

The General Data Protection Regulation (GDPR) is a legal framework designed to establish guidelines for safeguarding the personal information of European Union (EU) citizens. It is important to adhere to this regulation for all websites that attract European visitors, irrespective of whether they specifically offer products or services to individuals within the European Union. Compliance with GDPR is mandatory for websites offering services to European visitors.

GDPR for message

After making any necessary adjustments, click Save Settings.


↑ Back to top

You have the option to limit the inclusion of certain email addresses, IP addresses, or emails from particular domains in the abandoned cart capture process. This will prevent sending unnecessary emails to spam accounts, bots, or individuals within your internal team.

To implement this, you can input the email address, IP address, or domain name that you wish to block, separated by commas. By doing so, these entities will be excluded from the abandoned cart email distribution list.

Restrictions| Abandoned Cart

Once you have finished configuring the restrictions, click “Save Changes”.

Email Configuration

↑ Back to top

All email settings, such as Email Triggers, Email Rules, and Email Templates, can be adjusted here. All of the rules and triggers for sending recovery emails, along with the email templates, can be configured in this section. Let’s explore each of these tabs in turn.

Email Rules

↑ Back to top

Set rules to control how often cart recovery emails can be sent.

Email Rules | Abandoned Cart

To incorporate an additional rule, click on “Add New Rule,” input an appropriate Rule Name, specify the Rule Type as either “AND” or “OR,” and include the desired filters. These filters encompass User role, Total amount, Number of items, and Product ID. Once you have chosen the most fitting rules for your business, save the changes by selecting the “Save Changes” option. You have the flexibility to add, modify, or delete as many rules as necessary.

Email Templates

↑ Back to top

In this tab, you can easily create, delete, and manage an unlimited number of recovery email templates. These templates will be automatically sent to your visitors’ email addresses at predetermined intervals.

Email Templates | Abandoned Cart

Click Add New Template to generate a new email template.

email template

When creating a new email template, you can include shortcodes in the Email Subject and Email Body sections. Shortcuts that can be used are as follows:

  • Customer First Name – [customer_firstname]
  • Customer Last Name – [customer_lastname]
  • Cart Products – [cart_products]
  • Cart Link – [cart_link]
  • Coupon Code – [coupon_code]
  • Cart Unsubscribe – [cart_unsubscribe]
  • Default Logo – [default_logo]
  • Coupon Discount – [coupon_discount]

Template Name: Enter a name that best describes your recovery email template.

Email Subject: Enter a captivating subject that will capture the interest of your prospective customer.

Upload Template: Save time by utilizing an existing email template rather than creating one from scratch.

Copy From Email Template: Make multiple copies of the email’s body using a template you’ve already made. All of the available templates are listed in a pull-down menu, and you can use “pre-fill” to quickly replicate any of them.

Coupon Code: Including a discount code in your recovery email can encourage customers to buy products they had previously abandoned. The discount can be selected from a list of available coupons in WooCommerce or it can be generated dynamically.

Generating a dynamic coupon

Coupon Code Prefix: You have the option to include a personalized prefix for each dynamically generated coupon. This feature enables you to easily identify and manage your coupons and discounts. For instance, you can use prefixes such as BOGO********, 5PER********, DISC********, and so on.

Coupon Discount Type: You have the option to select either a percentage discount or a coupon with a fixed price.

Coupon Discount Percentage/Amount: Based on your specific requirements, you have the option to establish a discount percentage or specify a specific amount.

Individual Use Only: Enable this button if you do not wish to combine the embedded coupon code with any other coupons or site offers; it can only be used alone.

Associate the Dynamic Coupon to:

Customer’s email id: By enabling this option, the coupon will be exclusively linked to the customer’s provided email ID, preventing any other user or email ID from redeeming it.

Products in the Abandoned Cart: When this option is activated, customers will be restricted to applying discount coupons solely to the items in their specific abandoned cart. In the event that both options are enabled, only the customer linked to the provided email ID will have the ability to redeem the offer, exclusively for the products they had previously abandoned.

Coupon Expiry After: Set the expiration date of the coupon in terms of days or months.

Email Body: Compose a personalized email to be sent to your website visitors. To simplify the process of recovering abandoned carts, incorporate shortcodes for products and the cart.

After choosing a coupon for a particular recovery email, it will be automatically activated when a visitor clicks the “Checkout Now” button in the email. 

Email Body | Abandoned Cart

Send Test Email: Enter an email address to dispatch a sample abandoned cart email utilizing the customized template to ensure its visual appeal and flawless functionality.

Once you have completed the configuration of all the fields, select “Save Template.”

Email Triggers

↑ Back to top

Here, you can configure the triggers for sending cart abandonment emails.

Email Triggers | Abandoned Cart

Trigger Name: Set a suitable trigger name so that you can readily identify abandoned cart email notifications.

Template Name: Select the appropriate recovery email template from the ones you have created in the preceding steps.

Email Rule: Choose the email rule that you want to use for triggering the email.

Send Email After: This setting determines the duration since the cart was marked as abandoned. You can define a specific timeframe in minutes, hours, and days for sending each email when the specified rules are met. For instance, if you have set the general settings to consider a cart abandoned after 10 minutes of inactivity, the first email will be triggered one hour after the ten-minute threshold has elapsed.

Status: Turn on the switch to activate a particular email trigger.

Remove: Delete a certain email from the recovery list.

After configuring all the email triggers, rules, and interval time, click Save Changes.

Visitor Side Email

↑ Back to top

Let’s take a look at an example of the type of emails a visitor will receive.

Email Body | Abandoned Cart

Clicking Checkout Now will redirect the customer directly to the checkout page, where their coupon discount will already be deducted.

Checkout Now

Cart Details

↑ Back to top

The following details are included in the comprehensive list of abandoned purchases displayed under the cart details tab:

  • Information about your cart such as its ID, the time and date it was first created, and its current status (abandoned, recovered, partially recovered (P), recovered with a bonus (B), manually checked out, or expired).
  • Information about the customer, such as their name, email address, and status (registered or guest).
  • Product/Value shows the total number of items and dollar amount of an abandoned shopping cart.
  • Time at which the abandoned cart was recorded.
  • The total number of triggered emails sent to the customer.
  • The date and time of the most recent recovery email.
  • The option to remove details of a cart.

The various cart statuses are as follows:

Abandoned – The shopping cart has been left unattended and has not yet been recovered or expired.

Recovered – The abandoned shopping cart was successfully recovered by using the checkout link in the scheduled recovery email.

Bonus Recovered (B) – Upon clicking the checkout link in the recovery email, the cart was completely recovered, and the customer even added additional items as they completed their purchase.

Partially Recovered (P) – The cart status is deemed partially recovered if the customer attempts to recover their abandoned cart by clicking the checkout link in the recovery email but removes certain items before making a purchase.

Manual Checkout – When a customer abandons their cart but later returns to finish purchasing, the cart status will be changed to “manual checkout” If they complete the purchase before the first recovery email was sent to them.

Expired – A shopping cart’s status will be indicated as expired after the predetermined amount of time has elapsed. In the plugin’s General Settings, you can choose a time limit after which an abandoned cart will be considered expired. Once a shopping cart’s expiration date has been reached, it will no longer be eligible for recovery.

Cart Details | Abandoned Cart

When you click the Cart ID link in the Cart Details section, the entire shopping cart history will load in a new tab. The user’s shipping and billing information, as well as any information that has been abandoned or recovered (if applicable), recovery email information, and sent email activities, are all included here.

The abandoned information consists of the product’s name, cost, quantity, discount, item subtotal, and additional charges. The sent email section shows a full log of all recovery emails sent, both automatically and manually triggered. This includes the email’s date and time of delivery, the recipient’s email address, and the email template used. In addition, there is a section labeled Sent Email Action in which you can choose the email template to use and manually send recovery emails to the customer’s email address. By toggling the Send Abandoned Cart Emails button, you can manually subscribe or unsubscribe customers to receive recovery emails.

Cart Details | Abandoned Cart

Within the Recovered Details section, you will locate the WooCommerce Order ID. This identification will redirect you to the page containing comprehensive order details, enabling you to efficiently modify and process the order. These details include specific information regarding the items, such as any bonus products, the subtotal, and the applied coupon. By selecting the coupon, you will be directed to the edit coupon page for further customization. Furthermore, the details include the coupon discount, along with other charges such as the order total, the total recovered amount, and the total bonus amount if applicable. Additionally, in the Sent Email Action section, you have the option to choose an email template and manually initiate the delivery of recovery emails to the customer’s designated email address. Moreover, you have the capability to manually manage the subscription status of customers, granting the ability to either include or exclude them from receiving recovery emails by toggling the Send Abandoned Cart Emails button.

Recovered Details

To facilitate the management of a considerable volume of orders, you have the option to search for orders based on their names. This feature proves beneficial when dealing with a substantial number of orders. If you wish to remove specific order details, simply select the desired order or orders and proceed as follows: Navigate to Bulk Actions > Move to Trash > Click Apply.

Email Logs

↑ Back to top

The email logs tab presents a comprehensive record of all the sent emails, providing essential information such as the cart ID, email addresses, template name, coupon, and timestamp.

Analyze Detailed Email Logs

The date filter allows you to retrieve email logs within a specified date range.

The search log function enables you to search for email logs based on the user’s email address.

To remove one or more logs, simply select the entries you wish to delete, choose “Delete” from the bulk actions menu, and click “Apply”.


↑ Back to top

The dashboard tab provides a comprehensive graphical report that presents key metrics such as the total recovered amount, abandoned amount, and the rate of return facilitated by the plugin within a specified timeframe.

Access In-depth Reports of Abandoned and Recovered Cart Amounts

Total Abandoned Amount: The total amount of money that was left abandoned, thereby resulting in a loss of potential revenue and business opportunity.

Total Recovered Amount: The total amount recovered from the total amount abandoned as a result of sending recovery emails to buyers who abandoned their carts.

Total Conversion Rate: The rate at which abandoned shopping carts were effectively recovered.

Total Bonus Recovered: The complete bonus amount that was applied to a customer’s order when they clicked the checkout link in the abandoned cart email. For example, let’s say a customer left a t-shirt in their cart but never made a purchase. Customers who receive an abandoned cart email and click on it to complete their order are rewarded with a 10% discount, increasing the likelihood that they will purchase additional items. The sum of these extra product values is to be termed bonus recoveries. 

Total Emails Sent: The total number of abandoned cart recovery emails (both automated and manual) sent in a specified time frame.

Most Used Email Template: The most extensively utilized recovery email templates.

Total Carts Recovered Via Email: The number of shopping carts successfully recovered during the specified timeframe through the implementation of recovery emails sent to customers.

Most Used Coupons: List of all the most used discount codes that shoppers ended up using to complete their purchases and recover their abandoned carts.

Graph Report: The graph report visually displays the total count of abandoned and recovered carts.

Date filter: You can get a detailed report for a specific time period by using the date filter.

  • 30-day money-back guarantee
  • Support teams across the world
  • Safe and secure online payment