Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi there,

    Right now, the plugin only sends the email & name fields since all other MailChimp list fields are dynamic and a little hard for the plugin to guess.

    You can send more fields by adding a few lines of code to your theme its functions.php file (or by creating a small plugin, but that’s a bit harder).

    The following will send the URL in the user profile to the MailChimp WEBSITE field.

    add_filter( 'mailchimp_sync_user_data', function( $data, $user ) {
        $data['WEBSITE'] = $user->user_url;
        return $data;
    }, 10, 2 );

    Basically, you can use the above code to send anything you want since you have access to the $user object. If you need more info on how to set that up, please let me know!

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hey Phil,

    Just wanted to let you know that we’ve just released version 1.1 of MailChimp Sync which allows you to send additional user fields, including the WooCommerce fields.

    Hope that helps!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Does it sync only username and pass?’ is closed to new replies.