MailChimp integration with Registration Form

This topic has 6 replies, 4 voices, and was last updated 8 years, 4 months ago ago by Stan Russell

  • Avatar: BlankM
    BlankM
    Participant
    December 28, 2015 at 13:10

    Hello,

    I am trying to integrate MailChimp for WordPress plugin with your registration forms. I would like to suggest signing up for my newsletter every time someone is creating a new customer account on my website.

    On the MailChimp for WordPress integration page there is an option “Registration Form” and its description is as follows: “Subscribes people from your WordPress registration form”. What it does is adding the checkbox “Sign me up for the newsletter!” to registration form.

    There are following links in your top bar: “WISHLIST”, “SIGN IN” and “REGISTER”, and you have 2 registration forms in your theme available when one clicks “SIGN IN” or “REGISTER” accordingly. The problem is that the “Sign me up for the newsletter!” checkbox shows only when I click “SIGN IN” and it does not show on REGISTER page, where most of my new customers create their accounts.

    Is there something I or you can do to make it more functional? Thank you in advance.

    Best regards,
    Blanka

    5 Answers
    Avatar: Jack Richardson
    Jack Richardson
    Support staff
    December 28, 2015 at 14:48

    Hello,

    “Sign in” page is default woocommerce page and “Register” is our theme page. If you want to integrate MailChimp on our registration page you need to edit the wp-content/themes/legenda/et-registration.php or you can hide register link and use wocommerce “Sign in” page.

    Best regards,
    Jack Richardson.

    Avatar: BlankM
    BlankM
    Participant
    December 28, 2015 at 16:27

    Thank you for your response. I found a following code on https://mc4wp.com/kb/add-sign-checkbox-custom-form/ and added it to et-registration.php in the form code before the </div>:

    <p class="form-row form-row">
    <label>
    	<input type="checkbox" name="mc4wp-subscribe" value="1" />
    	Sign me up for the newsletter!
    </label>
    </p>

    I also created “Username” field in my MailChimp list, as you use this field in your form. Registration form shows the checkbox now, but it does not send email and username to MailChimp list.

    I found something like this in the support forum:

    Most likely, the plugin will automatically detect the email and if you’re lucky, also the name. If not, you will need to prefix the email and name field with mc4wp- and name them the same as your MailChimp list field names.

    Tried the mc4wp- prefix with username field but the form does not recognize username after that. I wonder if there can be a problem with detecting email as email, when it is signed as text in your form code: <input type=”text” name=”email”…

    What do you think? Thank you in advance.

    Best regards,
    Blanka

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Support staff
    December 29, 2015 at 09:57

    Hello,

    A lot of customization is required for registration template to implement mailchimp function.
    It’s beyond our basic support scope. If you have necessary knowledge you can edit php files yourself.
    The easiest way will be to disable our registration page and use default Woocommerce registration form in Sign In page.

    Regards,
    Eva Kemp.

    Avatar: BlankM
    BlankM
    Participant
    December 29, 2015 at 12:25

    Hello,

    thank you for your answer.

    Best regards,
    Blanka

    Avatar: stan
    Stan Russell
    Participant
    December 29, 2015 at 13:31

    Hello BlankM,

    you are welcome!

    Regards,
    Stan Russell.

  • Viewing 6 results - 1 through 6 (of 6 total)

The issue related to '‘MailChimp integration with Registration Form’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.