• Resolved coatsy35

    (@coatsy35)


    Hi all,

    How do you add the interests checkboxes to the wordpress/woocommerce user registration form? I have enabled integration and have the subscribe box there, but it’s not much use without the user selecting an interest group. I also need to force the selection of at least one interest group with notification.

    I also need to do this for signup during checkout function as well.

    Also when the user does get sent to the mailchimp list it sets the first name as their wordpress username, instead of the first name field. (I have first name and surname field turned on on my registration box)

    Any guidance appreciated

    • This topic was modified 6 years ago by coatsy35.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter coatsy35

    (@coatsy35)

    I’ve also just realised it doesn’t always add a person to mailchimp? can anyone tell me why this is ? I assume because it does not transmit all the required information from the registration form?

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @coatsy35,

    ​Can you please go to the “MC4WP > Others” menu in your WordPress admin and share with us the errors listed there?

    Thread Starter coatsy35

    (@coatsy35)

    [2020-04-13 13:43:02] ERROR: Registration Form > Mailchimp API Error: Bad Request. Invalid Resource. Your merge fields were invalid.
    – LNAME : Please enter a value
    Request: POST https://us20.api.mailchimp.com/3.0/lists/8ffb348ec7/members – {“status”:”subscribed”,”email_address”:”ecoa****@ya***.co.uk”,”interests”:{},”merge_fields”:{“FNAME”:”ecoates5″},”email_type”:”html”,”ip_signup”:”217.155.40.215″,”tags”:[]}
    Response: 400 Bad Request – {“type”:”http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:”51beea92-c7ed-463b-b959-2d49b1c42f3f”,”errors”:[{“field”:”LNAME”,”message”:”Please enter a value”}]}
    [2020-04-13 13:44:36] ERROR: Registration Form > Mailchimp API Error: Bad Request. Invalid Resource. Your merge fields were invalid.
    – LNAME : Please enter a value
    Request: POST https://us20.api.mailchimp.com/3.0/lists/8ffb348ec7/members – {“status”:”subscribed”,”email_address”:”bsmi**@ho*****.co.uk”,”interests”:{},”merge_fields”:{“FNAME”:”bsmith”},”email_type”:”html”,”ip_signup”:”217.155.40.215″,”tags”:[]}
    Response: 400 Bad Request – {“type”:”http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/”,”title”:”Invalid Resource”,”status”:400,”detail”:”Your merge fields were invalid.”,”instance”:”384eb7de-ac1e-47af-a1e5-e6d8206119ef”,”errors”:[{“field”:”LNAME”,”message”:”Please enter a value”}]}

    Plugin Contributor Harish Chouhan

    (@hchouhan)

    Hey @coatsy35,

    The “LNAME” field is set as mandatory in your MailChimp Audience. Please edit the list fields in MailChimp and uncheck the “Mandatory” option.

    After doing the above, login to your WP website and go to the “MC4WP” menu and click on the “Renew MailChimp Lists” button. After this please test the form again.

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

The topic ‘Add Interests selection to wordpress registration’ is closed to new replies.