Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Here is a quick patch to resolve this issue and by no means, meant to be committed.
Comment | File | Size | Author |
---|---|---|---|
#6 | commerce_mailchimp-subcribe-firstname-lastname-2627032-1-drupal-7.patch | 1.27 KB | jQN |
Comments
Comment #2
jlockhartI'm having this issue as well. Same versions of the module, the order email is successfully subscribed but I can't find where the mergefields are getting set. I've combed over all the settings for the MailChimp module but can't find where I set those. Are those pulled from the Mergefields from MailChimp? Where do we tell it to use the customer First Name and Last Name?
It might be good to know that we are not using the MailChimp forms for signup at all, just the checkout pane. Does that matter?
Comment #3
Jim.M CreditAttribution: Jim.M commentedYou can try "Subscribe or unsubscribe entity from a mailchimp list" rule action from mailchimp module - looks like it lets you set merge tags. You can just add this action after the commerce_mailchimp one and update Mailchimp data. I haven't used it, but according to the code, it does what you need - see mailchimp_lists_process_subscribe_form_choices() function.
Comment #4
jQN CreditAttribution: jQN commentedHas anyone been able to resolve this issue?
Comment #5
jQN CreditAttribution: jQN as a volunteer commentedI'm adding a patch that is a quick solution to fix this issue. By no means is the final solution. Based on Jukebox's solution.
Comment #6
jQN CreditAttribution: jQN as a volunteer commentedComment #7
jQN CreditAttribution: jQN as a volunteer commented