Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Adam Anderly

    (@anderly)

    Sorry for the delay in my reply.

    This is possible by hooking into the ‘ss_wc_mailchimp_subscribe_options’ action filter where you could evaluate the product purchased and set the listid on the passed $subscribe_options you get passed in the action filter which looks like this:

    $subscribe_options = array(
    ‘listid’ => $listid,
    ’email’ => $email,
    ‘vars’ => $vars,
    ’email_type’ => ‘html’,
    ‘double_optin’ => $this->double_optin == ‘no’ ? false : true,
    ‘update_existing’ => true,
    ‘replace_interests’ => false,
    ‘send_welcome’ => false
    );

    Plugin Author Adam Anderly

    (@anderly)

    Marking as solved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Only sign up to MC when order completed and product_id’ is closed to new replies.