=== WooCommerce Mailchimp Pro ===
Contributors: saintsystems, anderly
Tags: woocommerce, mailchimp
Requires at least: 4.7.0
Tested up to: 5.7.2
WC tested up to: 5.3.0
Stable tag: 2.4.4
License: GPLv3

Advanced Mailchimp integration for WooCommerce.

== Description ==

WooCommerce Mailchimp Pro provides advanced Mailchimp integration for WooCommerce.

= Features =

**WooCommerce Event Selection**

- Subscribe customers to Mailchimp after order creation
- Subscribe customers to Mailchimp after order processing
- Subscribe customers to Mailchimp after order completion

**Works with Mailchimp Interest Groups**

- Set one or more interest groups to add users to based on the selected MailChimp list.

**Opt-In Settings**

- MailChimp double opt-in support (control whether a double opt-in email is sent to the customer)
- Optionally, display an opt-in checkbox on the checkout page (this is required in some countries)
- Control the label displayed next to the opt-in checkbox
- Control whether or not the opt-in checkbox is checked or unchecked by default
- Control the placement of the opt-in checkbox on the checkout page

**Per-Product Lists
- Use the new MailChimp Product tab to select one or more lists to subscriber customers to when they purchase a specific product.

**WooCommerce Subscriptions Support
- Per-product lists can be set to keep customers subscribed to a list only when they are an active subscriber for subscription products.

= Multisite =

- All features should work for each blog in multisite installations.

= Requirements =

WooCommerce MailChimp requires PHP 5.6+ (PHP 7.0+ recommended). You'll also need to be running WordPress 4.7.0+ and have WooCommerce 2.2+ and WooCommerce MailChimp 2.3.8+.

= Documentation & Support =

Online documentation and code samples are available via our [Help Center](https://support.saintsystems.com/hc/en-us/sections/201959566).

== Installation ==

1. Upload or extract the `woocommerce-mailchimp-pro` folder to your site's `/wp-content/plugins/` directory. You can also use the *Add new- option found in the *Plugins- menu in WordPress.
2. Enable the plugin from the *Plugins- menu in WordPress.

= Usage =

1. Go to WooCommerce > Settings > MailChimp > Pro
2. First, paste your WooCommerce MailChimp Pro API Key and save to enable support and automatic updates.
3. Use the advanced features of WooCommerce MailChmip Pro to achieve finer-grained control over your WooCommerce MailChimp integration.

== Changelog ==

#### 2.4.4 - May 26, 2021
- Fix to not try to subscribe if subscribe options are empty.

#### 2.4.3 - May 26, 2021
- Fix typo.

#### 2.4.2 - May 26, 2021
- Replace extract with explicit retrieval.

#### 2.4.1 - May 24, 2021
- Fix Gravity Forms 2.5 conflict
- Tested up to WordPress 5.7.2
- Tested up to WooCommerce 5.3.0

#### 2.4.0 - March 24, 2021
- Tested up to WordPress 5.7
- Tested up to WooCommerce 5.1

#### 2.3.6 - April 10, 2020
- Fix for in_array error in subscription handler.
- Tested up to WordPress 5.4
- Tested up to WooCommerce 4.0.1

#### 2.3.5 - February 6, 2020
- Fix for undefined constant in migrator.

#### 2.3.4 - February 1, 2020
- Fix for migration version detection.

#### 2.3.3 - February 1, 2020
- Fix for Tags not sending correctly to Mailchimp for subscription products (Issue #2).
- Fix for AS args length serialization bug (Issue #1).
- Bump WordPress Tested version to 5.3.2
- Bump WooCommerce Tested version to 3.9.1
- Bump required min WP WooCommerce Mailchimp version to 2.3.8

#### 2.3.2 - August 26, 2019
- Fix tag retrieval to return tag IDs.
- Fix migrations.
- Bump WooCommerce Tested version to 3.7.0
- Bump required min WooCommerce Mailchimp version to 2.3.1

#### 2.3.1 - July 26, 2019
- Small change to only show the "Expiration Action" select box on WooCommerce Subscription Products when the "Require Subscription" checkbox is checked.

#### 2.3.0 - July 25, 2019
- Add support always subscribing to product-specific lists regardless of global opt-in settings.
- Add support for controlling unsubscribe action for subscription products that require active subscriptions.
- Support for product-specific tags.
- Sync up version with WooCommerce Mailchimp version.
- Fix typos in error logging.

#### 1.0.5 - July 22, 2019
- Fix for variable subscription products.
- Tested up to WooCommerce 3.6.5

#### 1.0.4 - February 21, 2019
- Fix log sprintf error.
- Fix to check if double_opt_in_list is array.

#### 1.0.3 - February 15, 2019
- Update to respect opt-in checkbox at checkout.

#### 1.0.2 - February 14, 2019
- Fix Mailchimp list fields not displaying for certain product types.

#### 1.0.1 - February 7, 2019
- Fix notices and fatal error if free plugin is not installed.

#### 1.0.0 - January 31, 2019
- Initial release.
