I figured it out.
/includes/modules/your-template/create_account
Code:
mailchimp_add($email_address, $email_format);
becomes
Code:
mailchimp_add($email_address, $firstname, $lastname, $company, $email_format);
includes/functions/extra_functions/mailchimp_functions.php
Code:
function mailchimp_add($email_address, $email_format) {
include_once(DIR_WS_CLASSES . "MCAPI.class.php");
$api = new MCAPI(BOX_MAILCHIMP_NEWSLETTER_API_KEY);
$merge_vars = array('');
becomes
Code:
function mailchimp_add($email_address, $firstname, $lastname, $company, $email_format) {
include_once(DIR_WS_CLASSES . "MCAPI.class.php");
$api = new MCAPI(BOX_MAILCHIMP_NEWSLETTER_API_KEY);
$merge_vars = array('FNAME'=>$firstname, 'LNAME'=>$lastname, 'COMPANY'=>$company);
Hopefully this is the right way to do this.
Bookmarks