Skip to content

Non visible merge fields in a Mailchimp account will still display in the WP Mailchimp settings menu under the "Include?" column #105

@MaxwellGarceau

Description

@MaxwellGarceau

Describe the bug

In the WP Mailchimp settings, it's still possible to "include" a merge field that is has it's "visible" property unchecked in a Mailchimp account.

Note: The non visible merge fields will not display in the block editor or the front end

Solution

Replace the checkbox with "Not visible" text to inform the user that they must change the option in their account.

If we wanted to go the extra mile we could see if we could generate a link to that users merge fields settings edit page in their Mailchimp account.

Steps to Reproduce

  1. Uncheck the "Visible?" column in all merge fields in the test user Mailchimp account
  2. On the Mailchimp WP settings page click "Update List" to refresh the data from Mailchimp
  3. In the "Merge Fields Included" section, you will see it's still possible to include merge fields that are not visible
  4. You can include all the merge fields, navigate to the front end, and see that the merge fields do not display.

Screenshots, screen recording, code snippet

non-visible-merge-fields-can-still-be-set-in-the-mailchimp-wp-admin.mov

Environment information

No response

WordPress information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Labels

type:bugSomething isn't working.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions