MailChimp for WooCommerce - Version 2.1.11

Version Description

  • fix double opt in sending on transactional customers
Download this release

Release Info

Developer ryanhungate
Plugin Icon wp plugin MailChimp for WooCommerce
Version 2.1.11
Comparing to
See all releases

Code changes from version 2.1.10 to 2.1.11

README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: ecommerce,email,workflows,mailchimp
4
  Donate link: https://mailchimp.com
5
  Requires at least: 4.3
6
  Tested up to: 4.9.8
7
- Stable tag: 2.1.10
8
  Requires PHP: 5.6
9
  WC tested up to: 3.4.5
10
  License: GPLv2 or later
@@ -61,6 +61,8 @@ The Mailchimp for WooCommerce supports Wordpress Multi Sites and below are a few
61
  - Deleting removes the connection between Mailchimp and WooCommerce, and uninstalls the plugin from your site.
62
  Refer to the Wordpress Codex for more information about [Multisite Network Administration](https://codex.wordpress.org/Multisite_Network_Administration)
63
  == Changelog ==
 
 
64
  = 2.1.10 =
65
  * skip product when no variant can be loaded
66
  * better validation for the view order url
4
  Donate link: https://mailchimp.com
5
  Requires at least: 4.3
6
  Tested up to: 4.9.8
7
+ Stable tag: 2.1.11
8
  Requires PHP: 5.6
9
  WC tested up to: 3.4.5
10
  License: GPLv2 or later
61
  - Deleting removes the connection between Mailchimp and WooCommerce, and uninstalls the plugin from your site.
62
  Refer to the Wordpress Codex for more information about [Multisite Network Administration](https://codex.wordpress.org/Multisite_Network_Administration)
63
  == Changelog ==
64
+ = 2.1.11 =
65
+ * fix double opt in sending on transactional customers
66
  = 2.1.10 =
67
  * skip product when no variant can be loaded
68
  * better validation for the view order url
bootstrap.php CHANGED
@@ -87,7 +87,7 @@ function mailchimp_environment_variables() {
87
  return (object) array(
88
  'repo' => 'master',
89
  'environment' => 'production',
90
- 'version' => '2.1.10',
91
  'php_version' => phpversion(),
92
  'wp_version' => (empty($wp_version) ? 'Unknown' : $wp_version),
93
  'wc_version' => class_exists('WC') ? WC()->version : null,
@@ -99,7 +99,7 @@ function mailchimp_environment_variables() {
99
  if (defined( 'WP_CLI' ) && WP_CLI) {
100
  try {
101
  /**
102
- * Service push to MailChimp
103
  *
104
  * <type>
105
  * : product_sync order_sync order product
87
  return (object) array(
88
  'repo' => 'master',
89
  'environment' => 'production',
90
+ 'version' => '2.1.11',
91
  'php_version' => phpversion(),
92
  'wp_version' => (empty($wp_version) ? 'Unknown' : $wp_version),
93
  'wc_version' => class_exists('WC') ? WC()->version : null,
99
  if (defined( 'WP_CLI' ) && WP_CLI) {
100
  try {
101
  /**
102
+ * Service push to Mailchimp
103
  *
104
  * <type>
105
  * : product_sync order_sync order product
includes/api/class-mailchimp-woocommerce-transform-orders-wc3.php CHANGED
@@ -220,7 +220,9 @@ class MailChimp_WooCommerce_Transform_Orders
220
 
221
  if ($subscriber['status'] === 'transactional') {
222
  $customer->setOptInStatus(false);
223
- $customer->requireDoubleOptIn(true);
 
 
224
  return $customer;
225
  } elseif ($subscriber['status'] === 'pending') {
226
  $customer->setOptInStatus(false);
220
 
221
  if ($subscriber['status'] === 'transactional') {
222
  $customer->setOptInStatus(false);
223
+ if ($doi) {
224
+ $customer->requireDoubleOptIn(true);
225
+ }
226
  return $customer;
227
  } elseif ($subscriber['status'] === 'pending') {
228
  $customer->setOptInStatus(false);
mailchimp-woocommerce.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Mailchimp for WooCommerce
17
  * Plugin URI: https://mailchimp.com/connect-your-store/
18
  * Description: Mailchimp - WooCommerce plugin
19
- * Version: 2.1.10
20
  * Author: Mailchimp
21
  * Author URI: https://mailchimp.com
22
  * License: GPL-2.0+
16
  * Plugin Name: Mailchimp for WooCommerce
17
  * Plugin URI: https://mailchimp.com/connect-your-store/
18
  * Description: Mailchimp - WooCommerce plugin
19
+ * Version: 2.1.11
20
  * Author: Mailchimp
21
  * Author URI: https://mailchimp.com
22
  * License: GPL-2.0+
plugin_overview.md CHANGED
@@ -1,12 +1,12 @@
1
- # MailChimp for Woocommerce Integration
2
 
3
- In this article, you’ll learn how to connect MailChimp for WooCommerce.
4
 
5
  ## Before You Start
6
 
7
  **Here are some things to know before you begin this process.**
8
 
9
- - For the most up-to-date install instructions, read [Connect or Disconnect MailChimp for WooCommerce](http://kb.mailchimp.com/integrations/e-commerce/connect-or-disconnect-mailchimp-for-woocommerce).
10
 
11
  - This plugin requires you to have the [WooCommerce plugin](https://wordpress.org/plugins/woocommerce) already installed and activated in WordPress.
12
 
@@ -14,23 +14,23 @@ In this article, you’ll learn how to connect MailChimp for WooCommerce.
14
 
15
  - We recommend you use this plugin in a staging environment before installing it on production servers.
16
 
17
- - MailChimp for WooCommerce syncs the customer’s first name, last name, email address, and orders.
18
 
19
  - WooCommerce customers who haven't signed up for marketing emails will appear in the Transactional portion of your list, and cannot be exported.
20
 
21
  ## A Note for Current WooCommerce Integration Users
22
 
23
- This plugin supports our most powerful API 3.0 features, and is intended for users who have not yet integrated their WooCommerce stores with MailChimp. If your WooCommerce store is already integrated with MailChimp via an integration that runs on an older version of MailChimp’s API, consider your current sales volume before you make any changes that might disrupt business.
24
 
25
- You can run this new integration at the same time as your current WooCommerce integration for MailChimp. However, data from the older integration will display separately in subscriber profiles, and can’t be used with e-commerce features that require API 3.0.
26
 
27
  ## Task Roadmap
28
  **Here’s a brief overview of this multi-step process.**
29
 
30
  - Install the plugin on your WordPress Admin site.
31
- - Connect the plugin with your MailChimp API Key.
32
  - Configure your list settings to complete the data sync process.
33
- - Troubleshoot any sync or data feed issues by sharing logs with MailChimp support.
34
 
35
  ## Install the Plugin
36
  **To install the plugin, follow these steps.**
@@ -55,9 +55,9 @@ You can run this new integration at the same time as your current WooCommerce in
55
  After you activate the plugin, you’ll be taken to the **Settings** page, where you will add your API key and configure your list settings.
56
 
57
  ## Configure and Sync
58
- **To configure your MailChimp settings for WooCommerce customers and sync them to MailChimp, follow these steps.**
59
 
60
- 1) On the **Connect** tab, paste your MailChimp API key into the field, choose whether or not you want to send debugging logs to MailChimp, and click **Save all changes**. To learn how to generate a MailChimp API Key, read [About API Keys](http://kb.mailchimp.com/integrations/api-integrations/about-api-keys).
61
 
62
  ![API key](https://cloud.githubusercontent.com/assets/19805049/18877771/3fca90e8-849c-11e6-9e3a-161a7b3936dd.png)
63
 
@@ -77,20 +77,20 @@ After you activate the plugin, you’ll be taken to the **Settings** page, where
77
 
78
  ![Save all changes](https://cloud.githubusercontent.com/assets/19805049/18877772/3fd24162-849c-11e6-8442-79ec4550b8ac.png)
79
 
80
- All set! When you click **Save all changes**, we’ll start syncing your WooCommerce customers to MailChimp. To view progress, check the **Sync Status** tab.
81
 
82
- If you have no lists in your MailChimp account, you will be given the option to create a new list on the **List Defaults** tab. To create a new list, set your list defaults, and click **Save all Changes** when you’re done. We’ll create a MailChimp list for you, and begin the data sync.
83
 
84
  ![List Defaults tab](https://cloud.githubusercontent.com/assets/19805049/18956260/cffd3926-8628-11e6-9c68-9fe3c964c75c.png)
85
 
86
  ## Next Steps
87
  After you connect, you can do a lot with the the data you collect, like build segments, send Automation workflows, track purchases, and view results.
88
 
89
- Find out everything MailChimp has to offer in our article, [How to Use MailChimp for E-Commerce](http://kb.mailchimp.com/integrations/e-commerce/how-to-use-mailchimp-for-e-commerce).
90
 
91
  # Deactivate or Delete the Plugin
92
- When you deactivate MailChimp for WooCommerce, it stops the sync but doesn’t remove the plugin. You can always re-activate the sync, which will backfill data at a later point in time.
93
- To deactivate MailChimp for WooCommerce, follow these steps.
94
 
95
  1) Log in to your WordPress admin panel.
96
 
@@ -98,7 +98,7 @@ To deactivate MailChimp for WooCommerce, follow these steps.
98
 
99
  ![Installed Plugins](https://cloud.githubusercontent.com/assets/6547700/18677993/a76542ee-7f28-11e6-99dd-cfd6c1f5c24a.png)
100
 
101
- 3) Click the box next to the MailChimp for WooCommerce plugin, and click **Deactivate**.
102
 
103
  ![Deactivate](https://cloud.githubusercontent.com/assets/6547700/18677992/a762b844-7f28-11e6-9679-8d6c6a1d731d.png)
104
 
1
+ # Mailchimp for Woocommerce Integration
2
 
3
+ In this article, you’ll learn how to connect Mailchimp for WooCommerce.
4
 
5
  ## Before You Start
6
 
7
  **Here are some things to know before you begin this process.**
8
 
9
+ - For the most up-to-date install instructions, read [Connect or Disconnect Mailchimp for WooCommerce](http://kb.mailchimp.com/integrations/e-commerce/connect-or-disconnect-mailchimp-for-woocommerce).
10
 
11
  - This plugin requires you to have the [WooCommerce plugin](https://wordpress.org/plugins/woocommerce) already installed and activated in WordPress.
12
 
14
 
15
  - We recommend you use this plugin in a staging environment before installing it on production servers.
16
 
17
+ - Mailchimp for WooCommerce syncs the customer’s first name, last name, email address, and orders.
18
 
19
  - WooCommerce customers who haven't signed up for marketing emails will appear in the Transactional portion of your list, and cannot be exported.
20
 
21
  ## A Note for Current WooCommerce Integration Users
22
 
23
+ This plugin supports our most powerful API 3.0 features, and is intended for users who have not yet integrated their WooCommerce stores with Mailchimp. If your WooCommerce store is already integrated with Mailchimp via an integration that runs on an older version of Mailchimp’s API, consider your current sales volume before you make any changes that might disrupt business.
24
 
25
+ You can run this new integration at the same time as your current WooCommerce integration for Mailchimp. However, data from the older integration will display separately in subscriber profiles, and can’t be used with e-commerce features that require API 3.0.
26
 
27
  ## Task Roadmap
28
  **Here’s a brief overview of this multi-step process.**
29
 
30
  - Install the plugin on your WordPress Admin site.
31
+ - Connect the plugin with your Mailchimp API Key.
32
  - Configure your list settings to complete the data sync process.
33
+ - Troubleshoot any sync or data feed issues by sharing logs with Mailchimp support.
34
 
35
  ## Install the Plugin
36
  **To install the plugin, follow these steps.**
55
  After you activate the plugin, you’ll be taken to the **Settings** page, where you will add your API key and configure your list settings.
56
 
57
  ## Configure and Sync
58
+ **To configure your Mailchimp settings for WooCommerce customers and sync them to Mailchimp, follow these steps.**
59
 
60
+ 1) On the **Connect** tab, paste your Mailchimp API key into the field, choose whether or not you want to send debugging logs to Mailchimp, and click **Save all changes**. To learn how to generate a Mailchimp API Key, read [About API Keys](http://kb.mailchimp.com/integrations/api-integrations/about-api-keys).
61
 
62
  ![API key](https://cloud.githubusercontent.com/assets/19805049/18877771/3fca90e8-849c-11e6-9e3a-161a7b3936dd.png)
63
 
77
 
78
  ![Save all changes](https://cloud.githubusercontent.com/assets/19805049/18877772/3fd24162-849c-11e6-8442-79ec4550b8ac.png)
79
 
80
+ All set! When you click **Save all changes**, we’ll start syncing your WooCommerce customers to Mailchimp. To view progress, check the **Sync Status** tab.
81
 
82
+ If you have no lists in your Mailchimp account, you will be given the option to create a new list on the **List Defaults** tab. To create a new list, set your list defaults, and click **Save all Changes** when you’re done. We’ll create a Mailchimp list for you, and begin the data sync.
83
 
84
  ![List Defaults tab](https://cloud.githubusercontent.com/assets/19805049/18956260/cffd3926-8628-11e6-9c68-9fe3c964c75c.png)
85
 
86
  ## Next Steps
87
  After you connect, you can do a lot with the the data you collect, like build segments, send Automation workflows, track purchases, and view results.
88
 
89
+ Find out everything Mailchimp has to offer in our article, [How to Use Mailchimp for E-Commerce](http://kb.mailchimp.com/integrations/e-commerce/how-to-use-mailchimp-for-e-commerce).
90
 
91
  # Deactivate or Delete the Plugin
92
+ When you deactivate Mailchimp for WooCommerce, it stops the sync but doesn’t remove the plugin. You can always re-activate the sync, which will backfill data at a later point in time.
93
+ To deactivate Mailchimp for WooCommerce, follow these steps.
94
 
95
  1) Log in to your WordPress admin panel.
96
 
98
 
99
  ![Installed Plugins](https://cloud.githubusercontent.com/assets/6547700/18677993/a76542ee-7f28-11e6-99dd-cfd6c1f5c24a.png)
100
 
101
+ 3) Click the box next to the Mailchimp for WooCommerce plugin, and click **Deactivate**.
102
 
103
  ![Deactivate](https://cloud.githubusercontent.com/assets/6547700/18677992/a762b844-7f28-11e6-9679-8d6c6a1d731d.png)
104