=== FixLayer CrossCart Sync ===
Contributors: fixlayer
Tags: woocommerce, abandoned cart, cart recovery, recovery email
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Abandoned cart capture and a single recovery email for WooCommerce.

== Description ==

FixLayer CrossCart Sync captures a customer's basket from the WooCommerce checkout page and (optionally) sends one recovery email after a delay.

It is designed to be simple:

* Capture basket + email address at checkout
* Send one recovery email with a secure restore link
* Automatically delete old basket records after a retention period

== How it works ==

1. On the WooCommerce checkout page, the plugin watches the billing email field.
2. When an email address is entered, it snapshots the current basket.
3. A WP-Cron task checks for baskets that have not changed for the configured delay and sends one email.
4. The email includes a restore link. When clicked, the basket is restored and the customer is redirected to the cart.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install via the Plugins screen.
2. Activate the plugin.
3. Go to WooCommerce → CrossCart Sync to set your send delay, email subject, and email body.

== Frequently Asked Questions ==

= Does this require WooCommerce? =

Yes. WooCommerce must be installed and active.

= How do I make sure scheduled emails send reliably? =

This plugin uses WP-Cron by default.

If your host disables WP-Cron (or your site has low traffic), you can set a real server cron job to call wp-cron.php.

Example (replace YOUR-SITE-DOMAIN with your domain):

`https://YOUR-SITE-DOMAIN/wp-cron.php?doing_wp_cron`

== Privacy ==

This plugin stores the customer's email address and a snapshot of their WooCommerce basket so it can send a recovery email.

You can control retention in WooCommerce → CrossCart Sync.

== Changelog ==

= 1.0.1 =
* Slug/naming update for WordPress.org review.

= 1.0.0 =
* Initial release.

