=== Abandoned Cart Lite for WooCommerce ===
Contributors: ashokrane, pinal.shah, chetnapatel, tychesoftwares
Tags: woocommerce cart abandonment, woocommerce cart abandonment recovery, Cart abandonment recovery, Cart abandonment rate, Cart abandonment solutions
Author URI: https://www.tychesoftwares.com/
Requires at least: 6.3 or higher
Tested up to: 7.0
Stable tag: 6.8.1
Requires PHP: 7.3
License: GPLv2 or late
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Donate link: https://www.paypal.me/TycheSoftwares

Track abandoned carts and send automated, customizable abandoned cart recovery emails. Reduce cart abandonment, recover lost revenue & increase sales.

== Description ==

> ###🚀&nbsp;&nbsp;New Launch: Flexi BOGO for WooCommerce
>
> The only BOGO plugin with a revenue tracking feature. **Now, at an attractive introductory price**. [Check out our new plugin here](https://www.tychesoftwares.com/products/woocommerce-flexi-bogo-plugin/?utm_source=wprepo&utm_medium=pluginpagetop&utm_campaign=AbandonedCartLite).

###  Best FREE abandoned cart WooCommerce plugin

According to experts, the average cart abandonment rate is around 70% to 75%. The reason for cart abandonment is different for each industry. If you want a rock-solid WooCommerce cart abandonment plugin that ticks all boxes in your [cart abandonment strategy](https://www.tychesoftwares.com/abandoned-cart-strategy/), the Abandoned Cart Lite for WooCommerce is the one for you. 

The FREE Abandoned Cart Lite for WooCommerce is bundled with all the essential features you need for abandoned cart recovery. 

**What if you can get better features for less money? -[Try Abandoned Cart Pro for just $1](https://www.tychesoftwares.com/products/woocommerce-abandoned-cart-pro-plugin-trial/?utm_source=wprepo&utm_medium=link&utm_campaign=AbandonedCartLite)**

### Abandoned Cart Lite for WooCommerce Features 

* Check if the cart is abandoned by the guest client or logged in user
* Tracking percentage of recovery done
* Send a reminder email within a few minutes after the cart gets abandoned
* Send an email notification to the store admin when a cart is abandoned, so the admin is informed whenever cart abandonment happens
* Exclude abandoned carts from being tracked based on IP address, email, domain, or country, allowing admins to control which carts are captured
* Abandoned cart templates for quick setup
* Copy HTML from anywhere & create templates using the powerful Rich Text Editor
* A handy report showing the number of times a product was abandoned and recovered
* Seven merge codes are available to help you send PERSONALIZED reminder emails

> **This plugin works as described: the lite version doesn’t cut down in functionality. You can have your orders recovered and save on sales. Depending on what you are selling, this can be a few orders to justify ordering the full package – I’m only a few away!**

> **Very recommended!**
> **- [jaysnl](https://wordpress.org/support/topic/great-support-and-value-buy-it/)**

The FREE WooCommerce abandoned cart plugin gives you the essential options to recover the customers. But if you want more powerful Abandoned cart plugin options for **WooCommerce cart abandonment recovery**, the Abandoned Cart Pro for WooCommerce will be the best option for you.

### Abandoned Cart Pro for WooCommerce Features

The [Abandoned Cart Pro for WooCommerce](http://www.tychesoftwares.com/store/premium-plugins/woocommerce-abandoned-cart-pro/?utm_source=wprepo&utm_medium=link&utm_campaign=AbandonedCartLite) gives 25+ features to have a better insight on cart abandonment and options to bring in the customers. 

Experience how the Abandoned Cart WooCommerce recovery plugin works - [Live Demo](https://demo.tychesoftwares.com/woo_ac_demo/?post_type=product)
Experience the user-friendly WordPress admin dashboard feature of the plugin - [Admin Demo](https://demo.tychesoftwares.com/woo_ac_demo/wp-admin/)

* Capture emails when Add to Cart is clicked
* Neat Dashboard to have a quick overview of the number of abandoned and recovered orders
* Automatically delete abandoned orders after a particular number of days	
* Generating and assigning coupon codes to abandoned cart reminder emails
* Tracking Coupon Code Used & Coupon Status
* Exit-Intent popup to prevent customers from abandoning the cart before they leave the site
* Send automated abandoned cart notifications via Messenger, SMS, and Email in a set time interval for better results.

[youtube https://youtu.be/BemNllbQW1c]

Take a look at our complete [Abandoned cart Lite Vs Abandoned Cart Pro comparison](https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/?utm_source=wprepo&utm_medium=prolink&utm_campaign=AbandonedCartLite) to get a clear idea of which version best suits your needs. The pro version of the **Abandoned cart WooCommerce plugin** is equipped with all **cart abandonment solutions** to make it a perfect plugin that you all need

> **I’m using the plugin on my shop. Installation is very easy and it works great. I’ve already recovered some orders, it doesn’t cost any effort.**

> **Support is fast and extensive**.

> -[bertkat](https://wordpress.org/support/topic/easy-money/)


### Abandoned Cart for WooCommerce Team Promise. 

Whether you are an Abandoned Cart free version user or a pro user, our support team is always there to help you. Feel free to contact us, and also, please share your review & rate us a **FIVE STAR rating** to help fellow WordPress users try our plugins. 

### About Us

We build WordPress plugins for WooCommerce that help store owners increase their sales. We have a portfolio of **12+ Premium WooCommerce plugins with a highly focused niche**. We are committed to providing top-notch services to our customers through our products & team.

[Get Access To All Our Plugins](https://www.tychesoftwares.com/store/premium-plugins/all-pass-access/)


**[Documentation](https://www.tychesoftwares.com/docs/docs/abandoned-cart-for-woocommerce-lite/?utm_source=wprepo&utm_medium=link&utm_campaign=AbandonedCartLite "Documentation")**

**[Developer Documentation](https://www.tychesoftwares.com/docs/acl-apidocs/index.html "Developer Documentation")**

**[Github Repository](https://github.com/TycheSoftwares/Woocommerce-abandon-cart-lite "Github Repository")**

== Installation ==

Method 1:
<ol>
<li> Go to WordPress Dashboard->Plugins->Add New </li>
<li> Search Abandoned Cart Lite for WooCommerce plugin using search option </li>
<li> Find the plugin and click Install Now button </li>
<li> After installation, click on Activate Plugin link to activate the plugin. </li>
</ol>

Method 2:
<ol>
<li> Download the plugin woocommerce-abandoned-cart.zip </li>
<li> Unpack the woocommerce-abandoned-cart.zip file and extract the woocommerce-abandoned-cart folder </li>
<li> Upload the plugin folder to your /wp-content/plugins/ directory </li>
<li> Go to WordPress dashboard, click on Plugins from the menu </li>
<li> Locate the Abandoned Cart Lite for WooCommerce plugin and click on Activate link to activate the plugin. </li>
</ol>

Method 3:
<ol>
<li> Download the plugin woocommerce-abandoned-cart.zip </li>
<li> Go to WordPress Dashboard-Plugins-Add New </li>
<li> Click on Upload Plugin link from top </li>
<li> Upload the downloaded woocommerce-abandoned-cart.zip file and click on Install Now </li>
<li> After installation, click on Activate Plugin link to activate the plugin. </li>
</ol>

== Frequently Asked Questions ==

= What is the difference between Lite and Pro version of the plugin? =

To see how the PRO version can help you recover more abandoned carts compared to Lite, you can refer **[here](https://www.tychesoftwares.com/differences-between-pro-and-lite-versions-of-abandoned-cart-for-woocommerce-plugin/?utm_source=wprepo&utm_medium=faqlink&utm_campaign=AbandonedCartLite "Lite and Pro version Difference")**

= How is the email address of the customers captured? =

Our plugin captures visitor emails in real-time as they're typing it in to the email address field on the checkout page, so you don't need to worry about them changing their mind at the last second.

When logged-in user add the product to the cart we capture the email address from the user's profile.

= Can the plugin track carts abandoned by guest users? =

Yes, it captures the carts of the guest users from the checkout page. We capture the guest user's abandoned cart only after the customer enters the "Email Address" on the checkout page.

Also, plugin does capture the cart from the cart page, these carts do not have any personal information of the customers. It will contain only the cart details. To capture, this information guest customer should reach the cart page of the website.

= Why are abandoned cart notification emails not getting sent? =

Please ensure you have at least one Email template "Active". As only active email templates are sent to recover the abandoned carts. 

For sending the abandoned cart notification emails automatically, we use WP-Cron. If you have Email templates activated and still notification are not sent, then you can debug the issue by following this **[post](https://www.tychesoftwares.com/using-wp_alternate_cron-to-overcome-the-problem-of-emails-not-being-sent-in-abandoned-cart-pro-plugin-for-woocommerce/?utm_source=wprepo&utm_medium=link&utm_campaign=AbandonedCartLite "WooCommerce Abandoned Cart Pro")**.

= When is the cart considered as an abandoned cart? =

When the products in the cart is not purchased within the set 'Cart abandoned cut-off time' then the cart is considered as an abandoned cart.

= How to unsubscribe the abandoned cart notification emails? =

The admin can use the merge code `{{cart.unsubscribe}}' in the email templates. It will be replaced with a url in the abandoned cart email notification sent to the customer. When clicked, the reminder email notification for the particular email will be unsubscribed.


== Screenshots ==

1. Lists all Abandoned Orders.

2. Lists Email Templates.

3. Abandoned Cart General Settings.

4. Abandoned Cart Recovery Email Settings.

5. Lists Recovered Orders.

6. Product Report Tab.

== External Services ==
This plugin communicates with our tracking server to send usage data **only** if the user has explicitly opted in to usage tracking. For detailed information about what is tracked, please refer to our [usage tracking documentation](https://www.tychesoftwares.com/docs/woocommerce-abandoned-cart-lite/default-settings/#f-reset-usage-tracking).

== Changelog ==

= 6.8.1 (13.06.2026) =
* Fix - Resolved a stored XSS vulnerability in the email template preview by sanitizing the template body on save and escaping its output during preview rendering.
* Fix - Resolved a CSRF vulnerability in the Abandoned Cart admin handler by enforcing nonce verification in `wcal_menu_page()` across abandoned cart deletion actions and email template create, update, activate, deactivate, and delete actions.

= 6.8.0 (15.05.2026) =
* Tweak - Added ac_lite_abandoned_cart_user_id filter to enable webhook for guest carts without user ID.
* Fix - Addressed deprecated notice by replacing wc_enqueue_js with wp_add_inline_script, ensuring compatibility with newer WooCommerce versions.
* Fix - Prevented fatal error on WooCommerce settings pages by ensuring WC_Settings_API is loaded before including email classes.
* Fix - Corrected email template layout issue that caused the cart total to render outside the cart details structure, particularly when switching between Pro and Lite versions.
* Fix - Fixed issue where abandoned cart emails showed raw merge tags instead of actual cart data due to template mismatch between Pro and Lite versions.

= 6.7.0 (14.01.2026) =
* Enhancement - Added the “Email admin on cart abandonment” option to notify the store administrator when a cart is abandoned.
* Enhancement - Added exclusion rules to prevent capturing abandoned carts based on IP address, email, domain, or country.

= 6.6.0 (02.12.2025) =
* Fix – Abandoned cart reminder emails, including test emails, were not being sent when the email subject contained the '!' character.
* Fix – Corrected CRLF line endings in plugin files.
* Fix – Reminder email subject was displaying "A&amp;A" instead of "A&A".
* Fix – Updated FAQs in the "FAQ & Support" tab.

= 6.5.0 (23.07.2025) =
* Fix - Reminder emails not being sent with WooCommerce version 10.0 and above.
* Fix - Visitor cart information not displaying on the Abandoned Orders tab with WooCommerce version 10.0 and above.

= 6.4.0 (08.04.2025)
* Fix - Resolved an error triggered when clicking the Recovered Orders tab.
* Fix - Guest user information was not properly tracked from the Cart and Checkout Block pages.
* Fix - Resolved all PHPCS warnings and aligned the code with WordPress Coding Standards to improve quality and maintainability.

= 6.3.0 (14.01.2025)
* Fix - Updated the FAQs under the "FAQ & Support" tab.
* Fix - Resolved fatal error occurring on the Abandoned Orders tab when clicking the "Abandoned Date" column title.

= 6.2.0 ( 10.12.2024 ) =
* Tweak: Removed the call to our tracking server to fetch the deactivation reasons and added them in the plugin itself.
* Fix: Resolved a critical error encountered by users during the registration process.
* Fix: Addressed an error occurring when loading the abandoned orders table.
* Fix: Fixed an error where a file was not loading properly.

= 6.1.1 ( 31.10.2024 ) =
* Fix: Added a condition to display the Upgrade to Pro Trial notice only on the plugin's settings pages within the admin area.

= 6.1.0 ( 29.10.2024 ) =
* Fix - Guest carts were not being captured.
* Supporting code changes for the Trial Version of Abandoned Cart Pro for WooCommerce.

= 6.0.1 ( 22.10.2024 ) =
* Fix - Deactivation survey request was being sent even though 'Skip & deactivate' was selected while deactivating the plugin.

= 6.0.0 ( 10.10.2024 ) =
* Fix - The test email was not displayed correctly on iPhone 12 Pro devices.
* Fix - Resolved issues when creating new email templates.
* Fix - Addressed PHP 8.x deprecated message to ensure compatibility.
* Fix - Added a filter to restrict capturing abandoned carts from a specific email address.

= 5.20.0 ( 03.04.2024 ) =
* Tweak - Updated tracking of non sensitive diagnostic data code to v2.
* Tweak - Added filter toc hange the number of carts displayed in the Abandoned Orders page.

= 5.19.0 ( 06.02.2024 ) = 
* Fix - The image in the default email template was broken. This has been fixed for fresh installations.
* Fix - Added nonce check for the dismiss action in the tracking notification.
* Tweak - Modified the support email address to connect to.

= 5.18.0 ( 16.01.2024 ) =
* Tweak - Introduced compatibility with WooCommerce Checkout Blocks.
* Fix - Incorrect stats are displayed in the plugin dashboard for number of emails sent & number of email addresses captured.
* Fix - Preview reminder emails show WooCommerce standard header/footer hook data which is not the same as the actual reminder email.

= 5.17.0 ( 19.12.2023 ) =
* Tweak - The reminder email will display taxes based on WooCommerce tax settings.
* Fix - Users with Shop Manager role will now be able to perform admin operations on the plugin page.
* Fix - For non-english sites, when users access the site via reminder email links, they are not redirected to the My Account page.
* Fix - Users are redirected to the Cart page after they login from the My Account page when the settings to auto login users is disabled.
* Fix - Email sent notification is displayed in the cart details popup when all reminders are inactive and no reminder has been sent.

= 5.16.2 ( 30.11.2023 ) = 
* Fix - Add nonce checks in ajax calls.
* Tweak - Bumped up minimum supported PHP version to match WooCommerce.

=  5.16.1 ( 21.11.2023 ) = 
* Fix - Fixed some errors from the plugin with PHP 8.1
* Fix - Fixed a vulnerability issue that allows users with lower access to run calls.
* Tweak - Made the confirmation message for coupon deletion available for translation.

=  5.16.0 ( 05.09.2023 ) =
* Fix - Coupon merge tags not working when testing email templates.
* Fix - Cross site scripting (XSS) vulnerability.
* Fix - Fixed Compatibility with Kadence WooCommerce Email Designer plugin.
* Fix - Added filters so that the mail tag replacements can be overridden with code, which allows better customization of the mail contents.
* Tweak - Added a new setting to allow the site admin to choose whether a user should be auto logged in when a link in the reminder email is clicked.

=  5.15.2 ( 21.06.2023 ) =
* Fix - Fixed an issue where coupons are not being added to test emails.
* Fix - Enhanced encryption key check.

= 5.15.1 ( 13.06.2023 ) =
* Fix - Removed backward compatibility for old reminder email links.

= 5.15.0 ( 06.06.2023 ) =
* Fix - A fatal error received when clicked on checkout link from webhook.
* Fix - Vulnerability fix for hardcoded encryption key.
* Enhancement - Introduced compatibility with WooCommerce High Performance Order Storage.

= 5.14.2 ( 23.05.2023 ) =
* Fix - Customers are receiving abandoned cart emails even after they purchased.
* Fix - An error is displaying on cart page with PHP 8.1.
* Fix - Cross-Site Request Forgery vulnerability in the plugin.
* Tweak - Modified the Action Scheduler setting description to remove references to manual cron jobs. This has been done as the plugin now uses the Action Scheduler library.

= 5.14.1 ( 28.03.2023 ) = 
* Fix - Added a fix which corrects the notice display for guest tables when the plugin is successful in fixing the table ID.

= 5.14.0 ( 21.02.2023 ) =
* Tweak - Added a filter to allow the user to add CSS styles to product table in reminder email.
* Tweak - Added the ability to auto fix the guest cart history table auto_increment ID.

= 5.13.0 ( 23.08.2022 ) =
* Tweak - The plugin will now delete carts older than 365 days to ensure performance is not affected.
* Tweak - Added a email type column in email templates database table. This will not result in any frontend changes for reminder email templates.
* Tweak - Added hooks to change the sender and recipient email address for order recovery notifications.
* Tweak - Added a hook to allow the site admin to change the cart recovery URL in reminder emails.
* Tweak - Added hooks to modify the cart table in reminder emails.
* Tweak - Performance improvements have been added in the action scheduler code run every 15 mins.
* Tweak - Added a hook to change the URL the user is redirected to when unsubscribing from reminder emails.
* Tweak - Updated the data tracked and sent from user sites for better data analysis and user behaviour.
* Fix - From email address and user name is taken from WP Settings instead of plugin when WC template style headers are enabled.
* Fix - WP Multisite installation compatibility.
* Fix - An extra https:// was being added to cart recovery links in reminder emails occassionaly.
* Fix - A fatal error was observed on rare occassions on the plugin dashboard.
* Fix - A fatal error was observed on the Product Report tab.
* Fix - Orphan record were being left by the plugin in the options table on uninstalling.

= 5.12.0 ( 08.02.2022 ) =
* Enhancement - Introduced 2 new webhooks that allows the admin to send cart abandonment and recovery data to delivery URLs.
* Tweak - Introduced the ability to enable/disable GDPR consent.
* Tweak - Introduced new Pro version features & settings.
* Fix - Fixed compatibility with WP Better Emails plugin.
* Fix - Made the default email template responsive.

[See changelog for all versions.](https://www.tychesoftwares.com/docs/docs/abandoned-cart-for-woocommerce-lite/changelog-abandoned-cart-for-woocommerce-lite/?utm_source=wprepo&utm_medium=link&utm_campaign=AbandonedCartLite "See changelog for all versions.")

== Upgrade Notice ==

= 4.5 (28.12-2017) =

* This version has 1 bug fix.

* Bug Fixed - Made some performance optimizations so the plugin occupies less CPU resources. We will continue working on this so the resource usage stays low.

= 4.4 (13.10-2017) =

* This version has 3 bugs fixes along with 1 Enhancement.

* Bug Fixed - If the guest user's id is wrong then the abandoned cart email will not be sent to the customers.

* Bug Fixed - If the variable products have a special character was not displaying the correct attributes. This has been fixed.

* Bug Fixed - Some error notices of debug log file are fixed.

* Enhancement - Now, admin can activate the email templates using toggle button from the Email Templates page.

= 4.3 (29.08.2017) =

* This version has 1 bug fix along with 3 Enhancements.

* Bug Fixed - When abandoned cart will have a variable product which has 3 attributes or more than that.  Then the slug name of selected variations were showing in the abandoned cart reminder emails and on the abandoned cart details page. This has been fixed.

* Enhancement - If the abandoned cart total is zero then abandoned cart reminder emails will not be sent to the customers.

* Enhancement - When the email sending script is executed on the server, it was running a large number of MySQL queries for guest users. That was causing an increase in the server load. In this version, we have optimised the queries. Initially, it used to query even those guest user records for which emails were already sent. Now, it will only query those records where email is yet to be sent.

* Enhancement - Removed the Active field from the add / edit email template page. Admin can activate or deactivate the templates from the Email templates page.


= 4.2 (25.07.2017) =

* This version has 1 bug fix.

* Bug Fixed - When WooCommerce is deactivated and "Allow" button is clicked from the user tracking data notice. It was redirecting to a blank page. Now, if WooCommerce is deactivated then Abandoned cart lite plugin will be automatically deactivated & display the notice.

= 4.1 (11.07.2017) =

* This version has 1 bug fix.

* Bug Fixed - Some warning was displayed in the Debug log file. This has been fixed.

= 4.0 (04.07.2017) =

* This version has 1 bug fix.

* Bug Fixed - Logged-in user's carts were not captured with the WooCommerce version 3.1. This issue has been fixed.

= 3.9.3 (09.06.2017) =

* This version has 3 bugs fixes.

* Bug Fixed - When store admin clicks on the dismissible notice, the notice was not getting dismissed. This issue has been fixed.

* Bug Fixed - The dismissible notice was not displaying the 'Allow' & 'No Thanks' button properly. This issue has been fixed.

* Bug Fixed - The total Recovered amount was not tracked. This issue has been fixed.

= 3.9.2 (09.06.2017) =

* Added missing java script file.

= 3.9.1 (09.06.2017) =

* Added missing image.

= 3.9 (09.06.2017) =

* This version has 1 new feature.

* New Feature - A new dismissible notice is added in the WordPress admin, which provides an option to allow usage tracking of the non-sensitive data of our plugin from the website. [Find out more](https://www.tychesoftwares.com/abandoned-cart-lite-usage-tracking/?utm_source=wpplugin&utm_medium=usagelink&utm_campaign=AbandonedCartLite).

= 3.8 (29.05.2017) =

* This version has 1 bug fix and 2 enhancements.

* Bug Fixed - Earlier Abandoned Cart date and time format were not translated into the WordPress selected language in the plugin. This issue has been fixed.

* Enhancement - From this version, the admin can insert the WordPress supported emoji's in the abandoned cart email templates as well as in the subject.

* Enhancement - Earlier we had hardcoded date and time format in our plugin. Now, the plugin will use selected WordPress date and time format.

= 3.7 (10.04.2017) =

* This version has 1 bug fix.

* Bug Fixed - If guest customer places an order by selecting "Create an account" checkbox or enters the password in "Account password" field on the checkout page, then an abandoned cart was created after "Cart abandoned cut off time" is reached. Also, abandoned cart reminder email were sent to the customers after the order was placed. Now onwards, orders placed by guest users by registering while placing order will not be captured.

= 3.6 (01.04.2017) = 

* This version has 1 bug fix.

* Bug Fixed - Warnings were displayed on the Order Received page with WooCommerce version 3.0.0. This is fixed now.

= 3.5 (10.03.2017) =

* This version has 1 new feature and 3 enhancements.
 
* New Feature - New setting named as "Enable tracking carts when customer doesn't enter details" on the settings page. When this setting is enabled it will enable tracking of abandoned products & carts even if the customer does not visit the checkout page or does not enter any details on the checkout page like Name or Email. Tracking will begin as soon as a visitor adds a product to their cart and visits the cart page.

* Enhancement - The default settings value for "Cart abandoned cut-off time" for logged-in users has been modified to 10 minutes.

* Enhancement - The Settings tab of the plugin has been redesigned. Now, the plugin will display 2 sub-tabs for different settings. The sub-tabs are named as "General Settings" & "Email Sending Settings". The settings of add/edit email template "Send From This Name", "Send From This Email Address" & "Send Reply Emails to" has been moved to the Settings -> Email Sending Setting tab.

* Enhancement - In this version we have introduced three new views of abandoned orders in the Abandoned Orders tab. The views named are "All", "Registered Users", "Guest Users" & "Carts without Customer Details". The "Registered Users" view will display only the logged-in user's abandoned carts. The "Guest Users" view will display the guest user's carts & "Carts without Customer Details" view will display all the abandoned carts of the guest users who have not entered an email address or any information on the checkout page.

= 3.4 (08.02.2017) =

* This version has 3 enhancements.

* Enhancement - We have made our plugin compatible with the "Loco Translation" plugin. Now, all the strings from Abandoned Cart Lite for WooCommerce plugin can be translated using the Loco Translation plugin.

* Enhancement - The email template are now compatible with the "WP Better Emails" plugin. If the "WP Better Emails" plugin is activated on the site then CSS style of this plugin will be applied to the test email and abandoned cart reminder email. 

* Enhancement - When the email sending script is executed on the server, it was running a large number of MySQL queries for guest users. That was causing an increase in the server load. In this version, we have optimised the queries. Now, the plugin will not fetch all the guest users record as it will fetch the necessary record which needs to be checked. This will improve the site performance.

= 3.3 (22.11.2016) =

* This version has 2 bug fixes.

* Bug fixed: If the store has the wrong guest user id in the database then it was creating issues where guest users cart was not populating the correct cart data while recovering their cart from reminder email received. This has been fixed.

* Bug fixed: If plugin is being used with PHP7, it was showing an error "Bitwise shifts by negative number will throw an ArithmeticError in PHP 7.0". This has been fixed.

= 3.2 (19.10.2016) =

* This version has 3 enhancements along with 2 bug fixes.

* Enhancements - The plugin will now display the user's billing first name & billing last name for the "Customer Details" column of the abandoned orders tab.

* Enhancements - Earlier rounding off of the decimal values was hardcoded in the plugin. Now, it will round the decimal values based on the WooCommerce setting named "Number of Decimals" which is located at WooCommerce -> Settings menu.

* Enhancements - Earlier plugin was sending the abandoned cart reminder to the customer if the email body content was blank. Now, the plugin will not consider the blank email body template for sending the abandoned cart reminder emails.

* Bug Fixed - If "Send the Abandoned cart emails to the admin" setting is enabled and Admin of the store create manual order from WooCommerce -> Orders page then abandoned cart recovered email was getting sent to the Admin. This has been fixed.

* Bug Fixed - The count of abandoned carts on Recovered Orders tab was updated before "Cart abandoned cut-off time" limit is passed. This has been fixed.

= 3.1 (15.09.2016) =

* New Feature - The email sending logic has been changed. Due to some reason, the abandoned cart remainder emails are not sent to the customers at the time they are intended to be sent, and if after some time, the emails start sending, then multiple email templates whose interval has been reached were all sent together. Now, the plugin will also consider the last abandoned cart reminder email sent time and will keep a time gap between the last email template that was sent & the current email template's time, thereby ensuring emails are not sent together.

* Bug Fixed - The "Alter" table queries have been changed in the plugin. Instead of using get_results(), it now uses the query().

* Bug Fixed - We have used the encryption libraries mcrypt_encrypt, MCRYPT_MODE_CBC, MCRYPT_RIJNDAEL_256 to generate the cart links sent in the abandoned cart reminder emails. Due to this on some servers where these libraries were not enabled, the abandoned cart email notification were not sent to the recipients. This has been fixed. 

* Bug Fixed - Earlier the "InnoDB" table engine type was hardcoded in plugin queries. As a result, the plugins tables were not created where the engine type was other than "InnoDB". This has been fixed.

* Bug Fixed - Some warnings were displayed in the Debug log file. This has been fixed.

= 3.0 (26.07.2016) =

* Enhancements - In this version, the code has been refined throughout the plugin & the folder structure has also been modified.

* Enhancements - Earlier rounding off of the decimal values was hardcoded in the plugin. Now, it will round the decimal values based on the WooCommerce setting named "Number of Decimals" which is located at WooCommerce -> Settings menu.

* Bugs Fixed - When setting "Email admin On Order Recovery" is enabled & order is recovered from the abandoned cart reminder notifications using "Cash On Delivery" payment gateway. Then the order is not considered as recovered & the order was not displayed in the "Recovered Orders" tab. This has been fixed.

* Bugs Fixed - Earlier the abandoned cart reminder emails & abandoned orders details page was not displaying the selected attributes for the variable products. This has been fixed.

* Bugs Fixed - The "Abandoned Date" column of the abandoned orders tab was not considering the time for sorting. This has been fixed.

= 2.9 (05.07.2016) =

* New Feature - New merge tag {{cart.unsubscribe}} has been added for email templates. This merge tag allows user to stop receiving further abandoned cart reminder email notifications. This merge tag has been added to comply with email sending laws in different countries.

* Bugs Fixed - Earlier if any user came from abandoned cart reminder email and place the order using PayPal payment gateway and do not reach the order received page. Then plugin was not considering that order as a recovered order. From now onwards if the user came from the abandoned cart reminder email and place the order using PayPal and does not reach the order received the page. Then plugin will consider that cart as a recovered order.

* Bugs Fixed - When the cart is abandoned as a guest & product have the special character in the attributes name, then it was displaying a blank row with only a checkbox on the Abandoned Orders tab. This has been fixed.

* Tweak - If the order is recovered from the abandoned cart reminder email then it will add a note "This order was abandoned & subsequently recovered." for the order.

= 2.8 (18.05.2016) =

* We have changed the encryption for the links that are sent in the Abandoned cart email notifications. Earlier we were using the mcrypt library for encoding the data. If mcrypt library was not installed on the server, then abandoned cart email notifications were not sent. Now we have used different functions for encoding the string. We have used microtime function & a security key. Using this security key, and after applying an algorithm on it, we generate the encoded string.

* The session now starts only on required pages of the store. Earlier it was started globally. This will help to improve the site performance.

* If billing email address of the logged-in user is not set then it was showing blank space on the abandoned orders list. This has been fixed. Now it will show the email address which was used while registering to the store.

* Earlier if email body was blank and we send the test email then blank email was sent. This has been fixed. Now if email body is blank then test email will not be sent.

* Tweak - Earlier we were populating the guest cart information by looping into the global WooCommerce cart. Now we are not looping & instead using the WooCommerce session object itself.

* Tweak - Earlier if the 'wp-content' directory has been renamed, then wp-load.php file was not included and abandoned cart reminder email was not sent.  Now, we have changed the way of including the wp-load.php file for sending the abandoned cart reminder notifications.

* Tweak - Earlier when {{products.cart}} merge tag is used in abandoned cart email template, then on click of the product name and product image, it was redirecting to the product page. Now it will redirect the user to the cart page.

* Tweak - We are now rounding off the prices with the 'round' function.

= 2.7 (14.04.2016) =

* New setting named as "Email Template Header Text" is added in Add / Edit template page. It will allow to change the header text of the email which have WooCommerce template style setting enabled for the template.

* From this version, the email sending process will run every 15 minutes instead of every 5 minutes. This will result in improved overall performance of the website.

* When Lite version of the plugin is activated on the site then it was not allowing to activate the PRO version of the plugin. This has been fixed.

* When templates are created / updated and if it has the same duration as one of the existing templates, then new template was not saved. This has been fixed.

= 2.6 (02.03.2016) =

* The plugin is now using the TinyMCE editor available in WordPress core for the email body content. The external TinyMCE library is removed from the plugin.

* The plugin is made compatible with Huge IT Image Gallery plugin. The test email was not sent to the user when Huge IT Image Gallery plugin was activated.

* The Product Report tab has been redesigned to look consistent with the WordPress style.

= 2.5.2 (12.02.2016) =

* Abandoned Orders tab has been redesigned with the WordPress WP list tables. "Action" column has been removed. The "Delete" link has been added in the abandoned orders tab. It is capable of deleting the abandoned orders when hovering the abandoned order in the list. It is also capable of deleting abandoned orders in bulk from the "Abandoned orders" tab.

* Email Templates tab has been re-designed to be consistent with the WordPress styling. It is now capable of deleting email templates in bulk. Action column in the Email templates tab has been removed. User can Edit & Delete template using hover affect on the template. This update allows you to activate / deactivate email template from the "Email Templates" page itself without having to edit the template & set it as "Active" by checking the checkbox.

* Recover Orders tab has been re-designed to be consistent with the WordPress style tables. "View Details" column in the Recovered Orders tab has been removed. User can view Details of the recovered cart using the link 'View Details' on the hover affect on 'User name' column.

* New setting named as "Send From This Email Address:" is added in Add / Edit template page. It will allow to change the From Email address of abandoned cart notification.

* New setting named as "Send Reply Emails to:" is added in Add / Edit template page. It will allow the user to change the Reply to email address of the abandoned cart notification.

* If the "Wp-Content" folder name is changed using iThemes Security (formerly Better WP Security) plugin then abandoned cart email notifications were not sent. This has been fixed.

* If the cart has been empty and we have tried to recover the order via email then it was displaying wrong Cart Recovery date. It has been fixed.

* In some cases, when cart or checkout link was clicked from the abandoned cart email notification, it was displaying "Link Expired" in the browser. This has been fixed.

* If the user has emptied their cart before the abandoned cut-off time is reached, for such carts the record in the DB will become blank. Such cart records were displayed in the abandoned orders list. This has been fixed.

= 2.5.1 (05.01.2016) =
* Some warnings were displayed on Email Templates tab. These have been fixed.

= 2.5 (05.01.2016) =

* The Settings page for the plugin has been redone. We are now using the WordPress Settings API for all the options on that page.
* When the plugin is installed & activated for the first time, 1 default email template will also be created. The template will be inactive when the plugin is activated.
* A new setting is added on the Add/Edit Template page named as "Active". If this setting is checked, only then the abandoned cart reminder email will be sent to the customers. If this setting is unchecked, then the email template won't be sent to the customers, but still you can keep it in the plugin. By default, this is unchecked.
* A new setting is added on the Add/Edit Template page named as "Use WooCommerce Template Style". If this setting is checked then abandoned cart reminder email will use the WooCommerce style (header, footer, background, etc.) for the notifications. If it is not checked then the regular email will be sent to the customer as per the formatting that is set in the template editor.
For existing users, this setting will remain unchecked. For new users of the plugin, the setting will be enabled for the existing default email template that is provided with the plugin.
* Abandoned cart email notification will be sent to the client's billing address entered on checkout instead of on the email address added by the user while registering to the website. This applies only for logged in users.
* New shortcode "{{cart.abandoned_date}}" has been introduced in this version. It will display the date and time when the cart was abandoned in the abandoned cart email notification.
* When a customer places an order within the abandoned cart cut off time, then the order received page was displaying a warning. This has been fixed.
* Abandoned Orders tab was not sorting according to the "Date" column. Same way, Recovered Orders tab was not sorting according to "Created On" & "Recovered Date" column. This has been fixed.
* Some warnings were displayed on the Abandoned Orders, Recovered Orders and Product Report tab. These have been fixed.
* The 'mailto' link was not working on the Abandoned Order details page. This has been fixed.
* Tweak - Removed the background white color for the add / edit template page.
* Tweak - Abandoned Orders tab will display the user's billing address using which the cart was abandoned. This applies only for logged in users.

= 2.4 (10.12.2015) =
* Abandon Cart record was not being deleted for users, when they do not reach the order received page but the payment for the order is already done. Also user was receiving the abandoned cart notification for such orders. This has been fixed.

= 2.3 (04.12.2015) =
* A new setting has been added "Email admin on order recovery". It will send an email to the admin's email address when an abandoned cart is recovered by the customer. This will work only for registered users.
* A new tab "Product Report" has been added. It will list the product name, number of times product has been abandoned and the number of times product has been recovered.

= 2.2 (05.11.2015) =
* The plugin now captures abandoned guest carts. A guest user's cart will be captured on the Checkout page, if it is abandoned after entering the email address.
* A new shortcode "{{cart.link}}" is added, which will include the cart URL of your shop.
* Fixed some warnings being displayed in the Settings tab.

= 2.1 (14.10.2015) =
* From this version, you can view the abandoned order details, which includes product details, billing & shipping address, under the Abandoned Orders tab.

= 2.0.1 (20.08.2015) =
* Applied fix for warning displayed on the abandoned orders page.

= 2.0 (20.08.2015) =
* The image link was coming broken while creating or editing the template if the image is present on the same server. This is fixed now.
* Added translations file for Hebrew which was contributed by a user.

= 1.9 (24.07.2015) =
* Fixed security issues pointed out by Wordpress.org review team.

= 1.8 (16.07.2015) =
* The strings for the products table, added using the shortcode {{products.cart}} in email templates have been added to the .pot, .po and .mo files of the plugin. Now the cart data will be translated to the respective language in the reminder emails as well as the test emails.

= 1.7 (07.07.2015) =
* Merge fields like {{products.cart}}, {{customer.firstname}}, etc. will be replaced with dummy data in the test emails that are sent from the template add / edit page. This ensures that you get a very close approximation of the actual email that will be delivered to your customers.
* Product image size in the abandon cart notification emails is set to a fixed height & width now.
* On WordPress Multisite, incorrect table prefix was used due to which the plugin was not functioning correctly on multisite installs. This is fixed now.

= 1.6 (24.06.2015) = 
* We have included .po, .pot and .mo files in the plugin. The plugin strings can now be translated to any language using these files.

= 1.5 (25.05.2015) =
* A shortcode {{products.cart}} can now be added in the abandoned cart notification emails. It will add the product information in the email like Product image, Product name, Quantity, Price & Total. The shortcode needs to be added from the AC menu from the template editor.
* The default value of the field "Cart abandoned cut-off time" in Settings tab was blank when the plugin is installed. This is now set to 60 minutes upon plugin activation.

= 1.4 (14.05.2015) =
* The abandoned cart emails were being sent multiple times for a single email template due to a bug. This is fixed.
* The plugin will now work on WordPress Multisite too.

= 1.3 (01.04.2015) =
* The abandoned cart email notifications are now sent out automatically without the necessity of having to set up a cron job manually.

= 1.2 (02.12.2014) =
* The test emails were not getting sent.
* Warnings fixed for some of the plugin setting pages.
* The image urls in the email were coming broken, this is fixed.

= 1.1 (25.04.2013) =
* Compatibility with WooCommerce 2.x versions
* Fixed 404 errors with images & other files

= 1.0 (18.02.2013) =
* Initial release.

