New WordPress Plugin: WooCommerce MailChimp

The WooCommerce logo and MailChimp logo are trademarks of WooThemes and MailChimp respectively.

The WooCommerce logo and MailChimp logo are trademarks of WooThemes and MailChimp respectively.

After a frustrating and fruitless search for a simple and free solution to basic WooCommerce integration with MailChimp, I decided to sit down and write a little plugin to do just that. There are a couple of paid solutions, but, in my opinion, most are overpriced for providing such vanilla functionality. Also, it seems this functionality was previously bundled with WooCommerce and WooThemes has since removed it and made it a paid “extension.”

So, without further ado, here is my new WooCommerce MailChimp plugin for WordPress:

WooCommerce MailChimp provides simple MailChimp integration for WooCommerce.

Easily add customers to a designated MailChimp list and, optionally, MailChimp interest groups upon order creation or order completion.

Double opt-in option for anti-spam compliance.

The plugin is now on the WordPress Plugin Repository and you can get it by clicking on the following link:

Download WooCommerce MailChimp

Get the Source on GitHub

Join our Trello Board to see what’s on our roadmap and vote on features. As always, please provide your feedback and/or enhancement requests here.


WooCommerce Event Selection

  • Subscribe customers to MailChimp after order creation
  • 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.


  • All features should work for each blog in multisite installations but this has not yet been tested.


Feedback is welcome!

If you need help, have problems, want to leave feedback or want to provide constructive criticism, please do so here at the WooCommerce MailChimp plugin page.


Follow @anderly on Twitter for updates on this and other plugins.


  • English (default)
  • No other translations yet.

Thanks in advance for your help on any translation efforts!


  1. Upload or extract the woocommerce-mailchimp 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.


  1. Go to WooCommerce > Settings > Integration > MailChimp
  2. First, enable the plugin and set your MailChimp API Key and hit save.
  3. Select whether you want customers subscribed to your MailChimp list after order creation or order completion (there’s a difference in WooCommerce).
  4. Next, select your MailChimp list and set any interest group settings (optional) and hit save.
  5. That’s it, now customers who purchase products from your WooCommerce store will automatically be subscribed to the selected list (and optional interest groups) in MailChimp!


  1. WooCommerce MailChimp options screen.
  • Jerome Stoel

    Hi Adam, by testing my website I noticed an error send by MAilchimp:

    (270) “3” is not a valid Interest Group for the list: Bewust Vrij Nieuwsbrief

    I haven’t used “3” in my settings and whatever I trie this error stays.

    Any suggestions?
    Thanks Jerome

    • Adam


      My apologies for this issue. I just published version 1.3.1 of the plugin which fixes this bug introduced in version 1.3. It was a simply transposition of parameters on an apply_filters call. I hadn’t caught it because I was intercepting the bug with an add_filter call I was using to test it and that was hiding the problem on my test site. I have corrected this and tested it with and without the add_filter hook. It now behaves just as it did in 1.2.6. Please update and let me know if you have any issues.



  • Dan

    Hi Adam,

    Is there a way to reposition the mailchimp tick box on the Billing page of a site? My client wants the tick box to appear underneath the Shipping Address form on his WooCommerce site. Currently its default location is under the billing form.

    Any help with be very much appreciated.


  • Jon Slack

    Hi Adam

    Thanks for putting the effort into this plugin. I’ve had this installed for the past 2 weeks during which tickets have gone on sale for a festival I’m organising. We’ve had more than 150 orders for multiple tickets, but as far as I can tell no one has yet signed up using this form.

    Is there an easy way to check signups? And how can I be sure that people are being linked to the correct mailchimp fields.

    Any help much obliged.

    Thank you!


    • Adam


      Can you tell me what your settings are for the plugin? As long as those are set correctly then orders should get sent to MailChimp depending on your settings and they should be showing up in MailChimp.

  • Robert

    Hello Adam,

    Nice plugin, though it generates a few php notices/warnings when wordpress debug mode is enabled. Visiting any page (including wp admin dashboard) will append the following to my error log…

    [Tue Apr 22 10:35:36 2014] [error] [client] PHP Notice: unserialize(): Error at offset 0 of 4736 bytes in /var/www/ on line 143, referer:

    [Tue Apr 22 10:35:36 2014] [error] [client] PHP Notice: Undefined index: data in /var/www/ on line 309, referer:

    [Tue Apr 22 10:35:36 2014] [error] [client] PHP Warning: Invalid argument supplied for foreach() in /var/www/ on line 309, referer:

    • Adam


      That looks like it’s not able to retrieve your MailChimp lists. Can you double-check the api key you are using?

      Let me know.


      • Robert

        The API key is correct and the plugin functions as expected. Its only when debug mode is enabled (in wp-config.php) that these warnings/notices show up.

  • Larry Perlstein

    Hi Adam, I’ve got the plugin working — it’s adding new customers to my mailchimp list. However, it’s only adding first name and last name and email address. Is there a way to have it add address and commerce information? I tried looking through all the comments but couldn’t find an answer.


  • Tim S

    Hello Adam:

    Great plugin – I’m encountering an error I think from your plugin –
    (250) NMRAID must be provided – Please enter a value
    Any suggestions? My searches didn’t reveal anything


    • Adam


      That looks like maybe a custom merge field you have defined in MailChimp. Do you have that set as required? By default, the plugin only sends first name (FNAME), last name (LNAME) and email address (EMAIL) merge fields to MailChimp.

      Let me know.


  • Carole

    I have updated my website to a Word Press format (and Woo Commerce) and had my web master install the Mail Chimp plug in. I am going to update all my emails etc, but was hoping the main format would transfer over to my new site. We are getting the following error;

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/04/11960904/html/wp-content/plugins/woocommerce-mailchimp/classes/class-ss-wc-integration-mailchimp.php:304) in /home/content/04/11960904/html/wp-content/plugins/yith-woocommerce-wishlist/functions.yith-wcwl.php on line 118

    Please advise…thank you,

    • Adam


      That line of code is where the plugin is trying to inform you that it is unable to load your lists from MailChimp. Can you double-check your MailChimp Api and make sure it is correct.

      Let me know.

  • Lion

    Hey Adam, when I enabled the opt in – the checkbox and the text breaks into 2 lines.
    Looking at the source, I see there is a break between the checkbox and label.
    Is there a way to remove that?

    Sign me up for updates on products

  • Saskia

    Hi Adam,

    What a good idea this plugin is. I installed is and filled in the integration. It seems not to add a new cutomer though to the list if I tell it to add the subscriber after ‘order completed’. It does though after ‘order created’. And it does not add to groups although I have specified it and the groups do exist.

    Can you help me out?

    Tnx so far anyway.

  • Saskia


    For a website I’m building I installed the Woocommerce >> MailChimp plugin. This is something I really wanted to have. So thank you for taking the time to build this plugin. But during the proces I bump into two kind of major problems:

    1. I can only get someone added to the MC list if I set the “subscribe event” to “order created” But that would mean that a visitor gets a subscription even if they cancel the order. The “order completed” option doesn’t seem to work. I tested it several times.

    2. Groups don’t work at all for me. In any form or combination. I tried entering the group in the first or the second field. Tried using the group name in the first and the specific group in the second…nada. What might I be doing wrong? The groups have been created in MC.

    I would really appreciate it if you can help me out on this, because I see a great advantage for our clients here.


    • Adam

      Can you send me what your group and sub-group names are in MailChimp?

      Also, for order completed, you usually have to manually mark an order complete in the WooCommerce admin area as it doesn’t happen automatically. Have you tried that?

      I’m working on the next version and adding some logging for troubleshooting these types of issues.

  • Saskia

    Hi Adam,

    I got it working! Indeed I have to complete the order in the back-end of Woo-commerce. And now the groups are working too.

    Thnx for the hint. I’m very happy with this plugin now.

  • Rasmus

    Hey Adam.

    Thanks for this nice looking plugin. Unfortunately, I can’t get it to work correctly on my site. The checkbox is shown just right, but theres no text label telling what it does.

    Can you please help me fix this?

    Thanks already,

  • Glenda Ebersole

    Will this work in WordPress 3.9.1?

    • Adam

      Yes. It should work fine with 3.9.1

  • Rasmus

    Wow. Did you just delete my comment about the fact that I don’t get a label telling what the checkbox actually does?

    • Adam

      I don’t think so. Was just viewing some comments on my phone and responding. Is your comment not showing up anymore?

      • Rasmus

        Nope. I posted the 20th of june, and now my comment is gone. I have installed your brilliant plugin, but all I get is the checkbox during checkout. There’s nothing telling the user what the box actually does..

  • Marc

    Hey Adam,

    On checkout I’m trying to give customers three differently levels of emails to receive. I can create these three groups within mailchimp but it seems like on check out the settings only enable them to opt in (entirely) or not.

    Is there a way for the customer to choose which list they want to be a part of?



  • Dave Berman

    Thanks for this plug-in. I’ve also added PayPal Express to my WooCommerce. That means most customers are going from my Cart page to PayPal without visiting my Checkout page, which is where the MailChimp opt-in box is displayed. I want them to genuinely have the choice of opting in or out so is there a way to move the check box from the Checkout page they don’t visit to the Cart page they do see? Thanks!


    • Adam

      Hmmm. Yes, it’s possible. Need to think through the best way to implement this though. Stay tuned and thanks for the feedback!

      • Dave Berman

        Hey Adam, just wondering if you have an ETA for moving the opt-in box to the Cart page from the Checkout page? Thanks.

        • Adam


          This isn’t currently a planned feature. However, I do have other PayPal users who are using the checkout page with success. Can you configure a different payment gateway such as Stripe or can you use PayPal Standard?

          • Dave Berman

            I got complaints about PayPal Standard, which is why I paid to add PayPal Express. That kind of precludes me from going to another option at this point. But having your plugin only on the Checkout page defeats the purpose for me using it. Even though there is no technical error with the integration, from a usability perspective, these two plug-ins are not compatible on my site. Is it possible instead of moving the opt-in box as I originally requested that you could just add it to the Cart page in addition to it being on the Checkout page? Thanks.

          • Adam

            I’ll look into that. I have an update coming to address some other issues and will see how feasible it is to get it into this next release. Potentially, I could make it an option in the settings. I can’t guarantee that it will be in the next release, but I understand the issue and will do my best to come up with a solution.

  • Keir Briscoe

    Hi Adam. I have installed your Mailchinp plugin and it says that it is active under the Installed Plugins list, but I cant find it in my sidebar.

    In your Usage procedure step 1 says “Go to WooCommerce > Settings > Integration > MailChimp”. Where exactly should I be looking for WooCommerce?


  • Vee

    Hello Adam,

    I second what Rasmus said earlier; when the optional subscription checkbox is turned on in the settings, it will only display the tick box on checkout without any label or text. If you could fix this it would be greatly appreciated.
    Thank you for making this plugin. As far as I know it’s the only plugin around for Woocommerce&Mailchimp.

    • Vee

      Additionally, in my opinion it would be easier to find the settings for this plugin in Woocommerce if the tab was called ‘Mailchimp’ instead of ‘Integration’. Hope this is useful.

      • Adam


        This is in the works for version 2.0 of the plugin.

    • Adam


      I hadn’t seen this issue before but will look into it. It should display the label/text configured on the plugin settings page. Stay tuned.

      • Charlie

        @Vee, @ Adam

        Just wanted to add my experience that the opt-in label text not displaying for me either.

        Other than that, this is an awesome plugin – cheers Adam.

        For anyone needing a temporary solution to the problem I’m just using a little bit of jQuery:

        $(".woocommerce-checkout label[for='ss_wc_mailchimp_opt_in']").text("What ever text you want the label to be.....")

        It’s not perfect but it’ll do until Adam manages to sort out a proper fix.

        Thanks again

        • Adam

          Thanks for the temporary fix. Working on an update as I get free time.

  • Thomas Clausen

    I miss a little feature, where I can select which list a given product should be added to. For instance if a customer buys product A I want them on list 1 and if they buy product B I want them on list 2.

    Is that in the making?

    • Adam

      This is not a planned feature for the free version, but I do plan on making this a feature of the premium/paid version of the plugin. However, I do not currently have an ETA on when that will be released as my full-time work is currently taking priority.

  • Tosca

    Hello, great plugin. However 1 issue. I have “Enable Double Opt-In” ticked. And setup to trigger on order. But the customer is not receiving the email to confirm opt-in. I see API calls in MailChimp for when order placed. What do you think is wrong?

    • Adam

      Do you have it set to subscribe on order created or order completed?

  • Michael Knight

    Website under construction and in private mode at present. Issue is that I have two subscription options, 12-month and monthly. Not sure if this is related to woocommerce/mailchimp but have set it to activate on completion of order (which I know from above must be done manually, right?) However, when I check out – to PayPal – for the 12-month sub, I get right to Paypal payment page.
    BUT with the monthly sub button, PayPal asks me to log in to my PayPal account, instead of taking me to a payment page.
    I have created numerous PayPal subscription buttons to try and get around this, but they all act the same on the monthly sub option.
    Is it possible that this has something to do with your product (which I think is GREAT BTW) – or is it more likely in the PayPal mode….

    • Adam


      This wouldn’t have anything to do with my plugin. The type of payment page you are taken to is completely driven by the paypal settings in your paypal account/button you create. My plugin simply calls the MailChimp API after an order has been created or completed to subscribe the user to a MailChimp list.

  • Robert

    Hello Adam,

    Our WordPress Dashboard has been running slow lately, so I took some time this morning to figure out the cause. As it turns out, having the Woocommerce Mailchimp plugin enabled is doubling our server’s response time.

    Is the plugin trying to communicate with the Mailchimp server’s on every page load or something? This does not appear to be affecting the frontend user experience.

    • Adam

      The plugin only communicates with MailChimp when in the admin are and when it no longer has the cached set of lists for your MailChimp account. Let me know if you have any other details.

  • Michael

    Hi Adam,

    Appreciate the plugin, and it looks like it could be very helpful. However, it’s not working for me. I don’t get any errors or anything (neither backend or frontend), but when I test it and have the subscription checkbox checked and I complete my purchase, it doesn’t add anything to my Mailchimp list.

    Any ideas?

  • Lena Merrin

    Hi adam, thank you for a great plugin. It has been running great until today, when I received this message: (-99) Could not connect (ERR 110: Connection timed out)
    any ideas what may have caused it?

    Thank you

    • Adam

      Not sure what that is. Could be a temporary issue connecting to MailChimp.

  • Karl

    The opt in option is checked by default regardless of the setting I use.

  • Feanne

    Hi Adam! Thank you for this plugin. It’s simple and it does the job. :) I’ve noticed the following bugs– I don’t mind them for my purpose, but thought you might want to know:

    1. Enabling “Double Opt-In” works, but when I uncheck it, subscription just doesn’t happen.

    2. Opt-In Checkbox Default Status — The opt-in checkbox is checked by default even if I try disabling this option.

    Hope the bug reports help and thanks again for your great work!

  • Michael

    Hi Adam,
    thanks for supplying this plugin. However, our laws in Germany are very strict on newsletter sign-up procedure. On the first opt-in button you have to clearly inform on how often you write newsletters, give links to where you can sign out again and so on.
    I would like to supply this information in the Opt-In Field Label. Could you please advise me how I can insert links and line breaks in this field? All attempts from my side didn’t succeed.

    Thanks Michael

    • Adam Anderly

      I’m working on some updates to the plugin and will consider enhancement request for a future update.

  • Bob

    Hi Adam,

    I’ve installed this plugin but can’t seem to get it working. I’ve entered the API key into the plugin settings in WooCommerce, and can see it making API calls every seconds in my MailChimp account.

    I have the plugin set to add the new subscriber after the order is completed. I am running:

    WordPress 4.0
    WooCommerce 2.2.4

    When I complete an order, I don’t see the buyer added to my MailChimp list. Does this plugin work with the above versions?


    • Adam

      Bob, the plugin hasnt yet been tested with WooCommerce 2.2. I plan to do that soon and release an update to ensure compatabikity.

      • Nicole

        Hello Adam, any idea on when an updated release for Woo Commerce 2.2 and wordpress 4.0 will be available?

        • Adam

          Nicole, the current version (1.3.2) has been tested with WordPress 4.0 and WooCommerce 2.2.

          What version do you have installed?

        • Adam Anderly

          The current version (1.3.2) has been tested with WordPress 4.0 and WooCommerce 2.2.

          What version do you have installed?

          • Nicole

            I have that version installed , but am not able to get my customer email address out of woo commerce and into mail chimp. I am a total newbie to all things website related and this is my first time at installing a plugin

  • natalie

    Hi Adam. Thank-you for creating this for us. I’ve selected the Main List and entered the group name into both the Group Name and Groups fields. However subscribers are being added to the list, but not the group (on order creation). How do I get the group working properly? Thank-you

    • Adam Anderly


      Can you send me a screenshot of what you have for your groups in MailChimp? If I see that, I can tell you what the setting needs to be in the plugin to make the groups work properly. I’m also working on an update to make this easier to just pick the groups vs having to type them in, but I don’t yet have an ETA on when that will be available.

      • natalie

        Thanks Adam

        The list is ‘Supplements’ and the group I want them to go into is ‘Bodybuilding Nutrition Online’.

        Let me know if you need more info.
        Thanks for your help.

        • Adam Anderly


          Perfect. So, in the plugin settings you’ll want to put “Account” in the Group Name field which is the actual Group Title. Then in the Groups field, put “Bodybuilding Nutrition Online.”

          This will get easier in a future update where you’ll simply be able to pick the groups from a list.

          • natalie

            Hi Adam
            I tried this but now the email isn’t being added at all. Before it was being added to the ‘Supplements’ list but not the group. Any other ideas?

          • natalie

            Hi Adam
            Any news on how to fix this?

          • Adam Anderly

            Can you send me a screenshot of your plugin settings so I can see that compared to the screenshot of your MailChimp account you previously sent?

          • natalie

            Here you go, Thanks

          • natalie

            Hi, any ideas on how to fix this?

          • natalie

            Hi Adam
            Have you had a chance to look at the screen shot I sent you a couple of weeks ago?

          • Adam Anderly


            Sorry for the delay in my response. Those settings look correct. I’ll have to do some testing to figure out why they wouldn’t be working. I’ll try setting up my interest groups to match the names of yours and test it with my MailChimp test account.

            Stay tuned.

            Just a heads up, it will probably be after Christmas before I’ll be able to get to this.

          • natalie

            Hi Adam, please let me know when you’ve had a chance to fix this. Thanks, Merry Christmas

          • Guest

            Hey Adam, hope your Christmas celebrating didn’t set you too far back :-) I’m in the exact same place as natalie – I have entered the group title and sub-group title exactly in the plugin settings, but the email address is not being added to the subgroup. The mailchimp API log gives this error on the subscribe request “(270) List_InvalidInterestGroup “

          • natalie

            Hi Adam, please let me know when you’ve had a chance to fix this.

          • Adam Anderly


            I just tested with my test MailChimp account and setup a Group like yours with “Account” and “Bodybuilding Nutrition Online”. I then ordered a test product and it subscribed me successfully. Here’s the result:

            I tried it with the Group set as Checkboxes and Radio and it worked both times.


            Any luck?

          • natalie

            Thanks Adam

            What do you mean by this? ‘I tried it with the Group set as Checkboxes and Radio’

          • Adam Anderly

            In MailChimp, you can set Groups up as either Checkboxes (multi-select) or as a Radio button (single-select). I tried it as both and both seemed to work, so it should be working. Have you had any luck?

          • natalie

            Hi Adam

            No, it’s still not working.

            In Mailchimp Group = Account is set to Radio.

            In WooCommerce Subscribe Event = Order Created.

            I created a dummy account > added an item to the cart > placed the order which took me to the paypal page.

            The Opt-In Field checkbox is not ticked. I thought this meant all customers would be added to mailchimp automatically but this new dummy user hasn’t been added.

            Do you have any more advice?

          • MauriceW

            Hello Natalie,

            If I were you, I would change my API key. Everybody can see it in this screenshot and abuse it. Better be safe than sorry… 😉


  • Yaros Loginov

    Dear Adam,

    I’ve got the plugin working, however, it’s only adding first name and last name and email address. Is there a way to have it add address and the types of product that the customers buy? I tried looking through all the comments but couldn’t find an answer.


    • Adam Anderly

      You can by hooking into the filters provided in the plugin. You’ll need some php code to do it. I’d like to make this easier going forward where you can pick from available order fields to send to MailChimp and map them to MailChimp Merge Fields.

  • Jeremy R. Wells

    Is there anyway to get existing customers into the mail chimp list? Thanks!

    • Adam Anderly

      Currently, there isn’t a way to do this without writing some custom code to do so.

  • andrea

    Hi there,

    been looking at your plugin as I am planning my switch from ECWID to WooCommerce.

    Two questions… At the moment my customers to pay can pay using PayPal and credit card (via eWay). If people pay with PayPal, that is connected to MailChimp straight away through e-commerce.
    With eWay (and ECWID) I have always had a lot of problems, I so far as I had to record the purchases by hand by downloading the purchases from eWay in CSV format (not a real problem, just a nuisance). So…
    1) if the data from PayPal is already being imported, is there going to be a problem if you import it twice? In other words, are the fields populated using E-commerce going to be affected in any way by your plugin (am I making sense here?)

    2) As a lot of my customers will already be on my mailing list, all I need to be able to do is to update their information adding a field stating that they have purchased, so I should be able to segment the list accordingly. I am not clear whether the “group” I see in your screenshot is supposed to accomplish this.

    In short… I must make sure I can differentiate between people who have purchased and people who have not. I would want to avoid getting an extra list as it just adds layers of complications.

    Thanks and Merry Christmas 😀

    • Adam Anderly

      This shouldn’t be a problem. My plugin simply handles subscribing customers to MailChimp when they make purchases. It doesn’t do anything with data being imported for existing or past customers / purchases. Hope that answers your question.

  • Mohamed Senoussi

    Hi adam is the plugin coming with a widget for placing a signup form in a sidebar ?

    • Adam Anderly

      The plugin doesn’t currently include a widget for signup form, but I am considering that for a future release. In the meantime, you should be able to combine this plugin with the MailChimp plugin for a signup form.

  • MauriceW

    Hi Adam,

    Great work! And I have a question.

    I want to generate 6 coupon codes when an order changes status to complete and send these coupon codes (6 string variables) along with 6 expiration dates (also 6 string var’s) with the subscription.

    I already figured out the PHP code to generate these coupons programatically. Now I only need to get them sent with your subscription to our MailChimp list.

    Can you please help me by telling me where to put my code and where I need to change your code, so that the coupons are submitted too?

    Thank you!

    • MauriceW

      Hi Adam,

      Never mind, I’ve already found it, added + changed some code and now my coupon codes are generated on the fly in Woocommerce and the code + expiration date is sent to Mailchimp in some merge fields.


  • Sebastián

    Any way to sync users with MailChimp list? I’m using the Suscription plugin from woothemes. I need to synchronize subscribed users according to their level of membership.


    • Adam

      There isn’t currently a way to sync users.

    • Adam Anderly

      This is not currently a feature but has been requested. I’ll keep it in mind for a future release.

  • Lynn Fergusson

    Thanks for the plugin! What happens if a buyer is already on the e-mail list but leaves the sign-up box ticked? Does that cause any problems? Thanks

    • Adam Anderly

      No, that does not cause any problems.

      • Lynn Fergusson

        Thank you!

  • Mathias Åsberg

    The new update of this plugin breaks WooCommerce Klarna Gateway !

    • Adam Anderly

      Sorry about that! I just published version 1.3.6 which fixes this problem.

  • Chris @ Tomatillo Design

    Great plugin – thank you! Where do I find the plugin filters? I have additional fields from the WooCommerce checkout page that I need to map into my MailChimp account.

    • Adam Anderly

      See this post for an example of how to do that:

      The filter you’ll be hooking into to add additional merge fields is: ss_wc_mailchimp_subscribe_merge_vars

      • Chris @ Tomatillo Design

        Thanks. I may be misunderstanding, but I just want to get the default WooCommerce Address, City, Country, etc. basic fields into MailChimp. I don’t need to create any new WooCommerce fields. Will the [ss_wc_mailchimp_subscribe_merge_vars] filter help accomplish that? If you have another example that would be a great help. Thank you!

        • Adam Anderly

          In that case, you should be able to just do something like this:

          // tie into the WooCommerce MailChimp 'ss_wc_mailchimp_subscribe_merge_vars' action filter to add the MailChimp merge vars for WooCommerce Order fields
          function ss_wc_send_woocommerce_fields( $merge_vars, $order_id ) {
          // retrieve the WooCommerce Order
          $order = new WC_Order($order_id);

          // Add merge variables to MailChimp call

          $merge_vars['ADDRESS1'] = $order->billing_address1;
          $merge_vars['ADDRESS2'] = $order->billing_address2;
          $merge_vars['CITY'] = $order->billing_city;
          $merge_vars['COUNTRY'] = $order->billing_country;

          return $merge_vars;
          add_filter( 'ss_wc_mailchimp_subscribe_merge_vars' , 'ss_wc_send_woocommerce_fields', 10 , 2 );

          • Chris @ Tomatillo Design

            Works! Thank you. Have a wonderful weekend.

          • Adam Anderly

            Glad to hear it!

  • Louis

    Hi ! Great plugin. I am using woocommerce subscription and would like to know if users could be deleted from the mailing list if they cancel their subscription ? Or even better added to another list ?

  • wistfulthinker

    Adam, I’m trying to use your plug in a WooCommerce shop that is exclusively using Amazon Payments to handle all login and payment processes. The plugin does provide the checked sign up for newsletter featured I’d like on the checkout page, but, at least in sandbox mode, customers don’t get added to the MailChimp list.

    Since we’re only using Amazon Payments, I have removed all the billing/etc forms from the checkout page. The plugin would need to get the customer’s name and email from when the customer logs into their Amazon account.

    Does the plugin do this? If not, can I work around some way?

    Many thanks in advance!

    • Adam Anderly

      I’ll look into this and try to test with Amazon Payments to verify.

      • naplesnet

        Hi Adam did you manage to integrate the amazon login?

  • Jonathan Hunt

    Hi Adam,

    Have you had a chance to look into making Groups a drop down list, and also allow for setting what fields are pushed to MailChimp (such as address and phone number) from within the Settings page of the plugin?

    Both of these would make configuration considerably easier – as requiring php editing to do these is beyond the realms of some of the userbase as is evident by the comments here and on the WordPress plugin page.

    Are you still considering to add these features and do you have a timeframe?



    • Adam Anderly

      Hi Jonathan,

      I’m currently working on the next version which will greatly simplify configuration.

      Notable changes:

      – Moving “MailChimp” to its own WooComerce Settings tab to make it easier to find the plugin settings.
      – Groups will be a drop-down list to easily select one or more interest groups
      – Customize merge field mapping via UI vs code.

      I don’t have an ETA yet on when I’ll have version ready as I’m still developing and testing these changes now.

      I would like to target May 1 though as a date to shoot for.

      Stay tuned…

  • Christos Papadopoulos

    Hi Adam, I need the “Opt-In Field Label” to allow HTML: Do you know how I can do that? It would be important to adjust the field for german newsletter law.

    • Adam Anderly

      I’ll look into this.

  • theKatrinaM

    Disables iself in Settings on Mulitsites.

    • Adam Anderly

      Thanks for reporting. I’ll check it out.

  • Phil Rickaby

    Thanks for creating this plugin. I’m trying to use it, but when I enter my API Key, I’m not seeing any of my mailchimp lists in the dropdown. Any ideas on why that might be? Using Woocommerce 2.3.7 on WordPress 4.1.1

    • Adam Anderly

      Hmmm, I was able to test it successfully with WooCommerce 2.3.7 and WordPress 4.1.1. Are you still having this issue?

      • Phil Rickaby

        Issue still persists.

        • Adam Anderly


          Would you mind creating me a test API key and sending it to me via the contact ( page? I won’t make any changes to your list or anything, but just want to test connectivity to see what might be happening.

          You can delete the key after I’m done testing.


          • Phil Rickaby


        • MotoInsider

          I was having the same issue until I changed the event to Order Completed and then the lists (and pulldown) showed up. Just installed today, WP 4.1.1 / Woo 2.3.7

  • wympy

    Congratulations on this very useful plugin.

    The plugin works great. I only have a small display issue. I see the checkbox misaligned with the Opt-In Field Label.

    Currently in the browser line appears like this:

    Iscrivimi alla newsletter

    I would like to render it, in order to make checkbox and label on the same line, as in this example:

    Subscribe to newsletter

    Where do I go to change this code

    • Corey Bruyere

      I’m looking to do the same. Any responsible way of doing this @philrickaby:disqus ?

  • olivier requet

    Hi thanks for this wonderfull plugin… may I have a suggestion ? It would be nice to have an opt-out option on the customer profile page within woo-commerce… that would be definitly awesome. thanks a lot.

  • The Roasting House

    I seem to be having a problem where it isn’t picking up new lists even if I refresh or remove and then add an api key. Any ideas?

  • Jodi Clarke

    can you add customers to different mailchimp lists depending on the product they purchased or do they all go to the same list?

  • Jaz Ampaw-Farr

    Please could you help? I am getting this error email ‘WooCommerce MailChimp subscription failed: Could not read response (timed out) (-98)’. Any ideas?

  • WooTreasure


    Please add the Per product list feature soon. I am searching for it since months. And now I found out you are developing it. Wish you all the best for the development. I have also subscribed to your Trello Board.

    Can you just provide a rough ETA ?