Plugin Directory

Changeset 1522130


Ignore:
Timestamp:
10/25/2016 08:55:38 PM (9 years ago)
Author:
MailChimp
Message:

Update to 1.0.6. Fix bugs, cross-device abandoned carts

Location:
mailchimp-for-woocommerce
Files:
127 added
4 edited

Legend:

Unmodified
Added
Removed
  • mailchimp-for-woocommerce/trunk/README.md

    r1510087 r1522130  
    77**Here are some things to know before you begin this process.**
    88
    9 - We recommend you use this plugin in a staging environment before installing on production servers.
    10 - This process requires an API Key from your MailChimp account. If you aren’t sure how to generate a MailChimp API Key, read [About API Keys.](http://kb.mailchimp.com/integrations/api-integrations/about-api-keys)
    11 - This plugin supports MailChimp’s [Abandoned Cart Automation](http://kb.mailchimp.com/automation/create-an-abandoned-cart-workflow) feature.
    12 - WooCommerce customers who haven't signed up for marketing emails will appear in the Transactional portion of your list, and cannot be exported. See [View or Export a List.](http://kb.mailchimp.com/lists/managing-subscribers/view-or-export-a-list)
    13 - To switch lists or accounts, you must deactivate and delete the plugin, then re-install it.
    14 - In e-commerce reports and on subscriber profile pages, product variants will display as the parent product.
     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).
    1510
     11- This plugin requires you to have the [WooCommerce plugin](https://wordpress.org/plugins/woocommerce) already installed and activated in WordPress.
     12
     13- Your host environment must meet [WooCommerce's minimum requirements](https://docs.woocommerce.com/document/server-requirements), including PHP 5.6 or greater.
     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
     23This 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
     25You 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.
    1626
    1727#Task Roadmap#
     
    1929
    2030- Install the plugin on your WordPress Admin site.
    21 - Connect the plugin with your MailChimp API Key, and configure your list settings to complete the data sync process.
     31- Connect the plugin with your MailChimp API Key.
     32- Configure your list settings to complete the data sync process.
    2233
    2334#Install the Plugin#
     
    4657**To configure your MailChimp settings for WooCommerce customers and sync them to MailChimp, follow these steps.**
    4758
    48 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**.
     591) 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).
    4960
    5061 ![API key] (https://cloud.githubusercontent.com/assets/19805049/18877771/3fca90e8-849c-11e6-9e3a-161a7b3936dd.png)
  • mailchimp-for-woocommerce/trunk/admin/class-mailchimp-woocommerce-admin.php

    r1519518 r1522130  
    297297
    298298            // store basics
    299             'store_name' => isset($input['store_name']) ? $input['store_name'] : get_option('blogname'),
     299            'store_name' => trim((isset($input['store_name']) ? $input['store_name'] : get_option('blogname'))),
    300300            'store_street' => isset($input['store_street']) ? $input['store_street'] : false,
    301301            'store_city' => isset($input['store_city']) ? $input['store_city'] : false,
     
    321321            if (empty($data['store_phone']) || strlen($data['store_phone']) <= 6) {
    322322                add_settings_error('mailchimp_store_settings', '', 'As part of the MailChimp Terms of Use, we require a valid phone number for your store.');
     323            }
     324
     325            if (empty($data['store_name'])) {
     326                add_settings_error('mailchimp_store_settings', '', 'MailChimp for WooCommerce requires a Store Name to connect your store.');
    323327            }
    324328
  • mailchimp-for-woocommerce/trunk/changelog.md

    r1515109 r1522130  
     1** 1.0.6 **
     2* fixed conflict with the plugin updater where the class could not be loaded correctly.
     3* fixed error validation for store name.
     4* fixed cross device abandoned cart url's
     5
    16** 1.0.3 **
    27* fixed cart posts on dollar amounts greater than 1000
  • mailchimp-for-woocommerce/trunk/mailchimp-woocommerce.php

    r1519518 r1522130  
    1717 * Plugin URI:        https://mailchimp.com/connect-your-store/
    1818 * Description:       MailChimp - WooCommerce plugin
    19  * Version:           1.0.5
     19 * Version:           1.0.6
    2020 * Author:            MailChimp
    2121 * Author URI:        https://mailchimp.com
     
    3838        'repo' => 'master',
    3939        'environment' => 'production',
    40         'version' => '1.0.5',
     40        'version' => '1.0.6',
    4141        'slack_token' => false,
    4242        'slack_channel' => 'mc-woo',
     
    191191        require plugin_dir_path( __FILE__ ) . 'includes/plugin-update-checker/plugin-update-checker.php';
    192192    }
    193 
    194     $env = mailchimp_environment_variables();
    195 
    196193    /** @var \PucGitHubChecker_3_1 $checker */
    197194    $updater = PucFactory::getLatestClassVersion('PucGitHubChecker');
    198     $checker = new $updater('https://github.com/mailchimp/mc-woocommerce/', __FILE__, $env->repo, 1);
    199     $checker->handleManualCheck();
     195    if (class_exists($updater)) {
     196        $env = mailchimp_environment_variables();
     197        $checker = new $updater('https://github.com/mailchimp/mc-woocommerce/', __FILE__, $env->repo, 1);
     198        $checker->handleManualCheck();
     199    }
    200200}
    201201
Note: See TracChangeset for help on using the changeset viewer.