# Basket Recovery Plugin

## Introduction
The BasketRecovery module allows administrators to manage emails to be automatically sent out in the occasion that a customer does not complete their purchase.

The most basic form of this is to send an email at the specified interval, however there are more features available (turned on/off in settings):

* Send a coupon with the email.
* View stats on the performance of a coupon (Reads, Clicks, Sales)

### Coupons
As this generates coupons automatically, you may wish to alter the coupon admin area to ignore any coupons with a code staring with FOLLOWUPS_COUPON_PREFIX (default: BR)

## Config
There are multiple constants defined within the ecom config file to control this module:

* FOLLOWUPS_ENABLED - Turn on/off this module
* FOLLOWUPS_STATS - Turn on/off stats displayed in admin area
* FOLLOWUPS_COUPON_ENABLED - Turn on/off ability to create coupons with recovery emails
* FOLLOWUPS_COUPON_PREFIX - Give each coupon generated a custom prefix (default: BR)
* FOLLOWUPS_COUPON_EXPIRY - The default interval for any coupons generated, for use with DateInterval (default P1M)