Custom field not working
-
Hi
I installed the plugin and everything works fine so far. If someone orders something, I would like to fill a custom field.
In MailChimp I created a custom field “TEST”.
https://share.getcloudapp.com/wbu6QrDGNow I try to fill the field with the following code:
add_filter('mailchimp_sync_user_mergetags', function ($merge_vars) { $merge_vars['TEST'] = 'Hello'; return $merge_vars; }, 100, 2);If I order now, this value is never set in MailChimp.
I would be very happy if you could help me.
Kind regards,
Olivier
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Custom field not working’ is closed to new replies.