@gevcen @basicsbyhill sorry that I missed this question – this is actually a really good one and I’m glad you brought it up.
The short answer is that these plugins don’t have any relation at all. Even though they both say the word Mailchimp, they’re not the same and the features from both plugins are completely separate, and most likely have a little overlap. That being said I would like to give some input on how you can resolve this.
This wiki page shows you how you can display the checkbox in a custom manner, but in all reality this should probably be implemented as a HIDDEN input and then add a javascript snippet to sync the two checkboxes.
function custom_hide_mailchimp_checkbox() {
return '<input id="mailchimp_newsletter_checkbox" type="hidden" value="" name="mailchimp_woocommerce_newsletter"/>';
}
add_filter('mailchimp_woocommerce_newsletter_field', 'custom_hide_mailchimp_checkbox’);
Once you have this as a “hidden” input on your page, you can then apply a javascript listener to sync the two checkboxes.
Assuming you have jQuery on your site – this is a simple example that would allow you to use the “other plugin’s” checkbox, hide the Mailchimp checkbox, but then still save the data that our plugin is relying on to properly submit subscriber statuses.
$("#the_other_checkbox_id").change(function(e) {
$("#mailchimp_newsletter_checkbox").prop('checked', e.target.checked);
});
I hope this helps. Feel free to reach back out if you have any other questions on this. Be glad to help ??