WordPress.org

Support

Support » Plugins and Hacks » First name also added to last name in MailChimp

First name also added to last name in MailChimp

Viewing 1 replies (of 1 total)
  • I had this same issue. In my sign up I only have First Name and Email Address and it was adding the First Name to the Last Name as well.

    This is the way I fixed it and not sure if it is the proper way but it worked for me, but save a copy of your original file just in case.

    In the frontend/NewsletterSignUp.php file on line 507 just delete this line of code:

    $request['merge_vars']['LNAME'] = substr($name,strpos($name,' '));

    Let me know if that worked for you.

Viewing 1 replies (of 1 total)
  • The topic ‘First name also added to last name in MailChimp’ is closed to new replies.