=== Sullivan Cart Rescue for WooCommerce ===
Contributors: sullivanpro
Tags: woocommerce, cart abandonment, recover cart, woocommerce coupon, email marketing
Requires at least: 5.8
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 1.1.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatically recovers abandoned WooCommerce carts with a lightweight, high-performance background recovery system and unique dynamic coupons.

== Description ==

Sullivan Cart Rescue for WooCommerce is a lightweight, standalone cart recovery plugin designed to bring lost customers back to your store. The plugin automatically tracks when a user leaves their email on the checkout page but doesn't complete the purchase. After a customizable time window, it automatically generates a unique discount coupon and sends a recovery email to the customer.

= Privacy & Compliance Notice =
* **100% Standalone:** CartRescue Lite is a standalone free plugin.
* **No Tracking:** It does not collect telemetry or usage data.
* **No Phoning Home:** It does not send your store data or customer emails to external third-party services.
* **No Accounts Required:** It does not require an external account to function. All abandoned cart logs are stored securely within your local WordPress database.

= Plugin Features =
* **Automatic Tracking:** Captures user email fields automatically on checkout blur event.
* **Smart Database Logging:** Securely stores abandoned cart data, totals, and timestamps locally.
* **Automated Cron Job:** Runs reliably in the background every hour to process abandoned sessions.
* **Dynamic Coupon Generation:** Automatically creates unique WooCommerce percent coupons bound to the customer's email.
* **Custom Delay Window:** Define how many minutes of inactivity are required before a cart counts as officially abandoned.

= Available in the Pro Version =
A separate Pro version is available for businesses looking for advanced customization. The Pro upgrade includes:
* **Email Template Customizer:** Modify the email subject, heading, and body text with flexible dynamic placeholders.
* **Multilingual Options (Magyar):** Full Hungarian language selection for the dashboard, settings, and customer emails.
* **Flexible Sender Criteria:** Define custom sender names and email addresses to match your business branding perfectly.
* **Privacy & Data Retention Controls:** Configure automatic abandoned cart data cleanup and uninstall behavior.

== Installation ==

1. Upload the `cartrescue` folder to the `/wp-content/plugins/` directory, or upload the ZIP file directly through the WordPress admin panel.
2. Activate the plugin through the 'Plugins' menu in WordPress.
3. Navigate to the `CartRescue` menu in your WordPress dashboard to configure your coupon and timing preferences.

== Screenshots ==

1. CartRescue dashboard showing tracked abandoned carts and recovery status.
2. Lite settings for coupon discount, coupon expiry, and abandonment time window.
3. Abandoned cart details view with captured cart contents and generated coupon information.
4. CartRescue Pro privacy and data retention settings with automatic cleanup options.
5. CartRescue Pro sender profile and customizable email template settings.

== Frequently Asked Questions ==

= Does this plugin affect store speed? =
No. Sullivan Cart Rescue for WooCommerce logs data asynchronously via lightweight AJAX requests and processes email delivery using background cron hooks to ensure absolute minimal server overhead.

= How long do the coupons stay valid? =
By default, coupons automatically expire after 2 days, but you can freely modify this duration in the plugin settings.

= Does the plugin send customer data to an external service? =
No. The Lite version stores abandoned cart data locally in your WordPress database and does not send customer emails or cart contents to external services.

= Is there a Pro version? =
Yes. A separate Pro version is available with email template customization, multilingual options, sender profile settings, and additional privacy/data retention controls.

== Changelog ==

= 1.1.5 =
* Security & Compliance update: Refactored the plugin into a 100% standalone Lite version.
* Removed all third-party SDKs (Freemius) from the WordPress.org build.
* Removed local premium-only code gates to comply with directory guidelines.
* Optimized database logging and checkout capture engine for WooCommerce.

= 1.1.0 =
* Initial stable release for WooCommerce cart recovery.