This topic can no longer be replied to because it has been locked.

Custom dropdown export value
Gravatar
Joined: 2019-01-30
Posts: 4
Hi,

We have a custom dropdown field in the frontend for our customer. When subscribing a customer to the newsletter, the extension passes its EAV attribute ID instead of dropdown value. Please see screenshot smile

https://imgur.com/a/CebAqiK
https://imgur.com/a/q3hYWno
Gravatar
Joined: 2019-01-16
Posts: 37
Hi Scott thanks for contacting us.

1. Please tell us your mailchimp and magento version.
2. Could you post here the html code shown if you do right click > inspect element for the dropdown? code must be like <select> elements here </select>

Kind regards.
Gravatar
Joined: 2019-01-30
Posts: 4
Hi Brian

1) Mailchimp for Magento v1.1.8
Magento 1.9.3.9

2) <select id="mc_how_did_you_find_us" name="mc_how_did_you_find_us" title="How did you find us?" class="validate-select required-entry form-control">
<option value="" selected="selected"></option>
<option value="86">Returning 100 Mile Club School</option>
<option value="88">100 Mile Club Website</option>
<option value="84">Ran the 100 Mile Club at a Previous School</option>
<option value="83">Recommended by another school</option>
<option value="89">Conference/Meeting</option>
<option value="90">Social Media (Facebook, Twitter, etc)</option>
<option value="92">Media (TV, Newspaper, etc)</option>
<option value="87">Billion Mile Race</option>
<option value="85">Fuel Up to Play 60</option>
<option value="91">Other</option>
</select>

Gravatar
Joined: 2019-01-16
Posts: 37
Hi Scott,

Please update to the latest version v1.1.14, you can download it from our store.

After updating the extension please create a new customer and check if the dropdown value is sent.

Could you explain the steps you did to create customer attributes ?

Kind regards.
Gravatar
Joined: 2019-01-30
Posts: 4
Hi Brian

I updated the extension to 1.1.14. I created a new dropdown customer attribute just to make sure, registered a new customer then subscribe it on the newsletter, but still it has the same issue. Mailchimp dashboard receives/displays the attribute id. see screenshot https://imgur.com/a/oU8tDbO

• Creating customer attribute
Magento Admin Dashboard -> Customers -> Manage Attributes -> Add New Attribute
then select "Customer Input Type" as dropdown

Gravatar
Joined: 2019-01-16
Posts: 37
Hi Scott,

1) Please download this file: https://www.dropbox.com/s/6as5qk719jxdatz/Subscribers.php?dl=0
2) Replace in folder app/code/community/Ebizmarts/MailChimp/Model/Api/
3) Go to Mailchimp for magento extension settings and click on Resend Subscribers

Important: this fix is valid for extension version v1.1.14.

Thanks for using our extension.
Gravatar
Joined: 2019-01-30
Posts: 4
Hi Brian
Thanks for the update, but unfortunately it has an error, occurs when unsubscribing from newsletter and registering new customer in the signup page

Call to undefined method Ebizmarts_MailChimp_Helper_Data::getInterest() in {MAGENTO_PATH}\app\code\community\Ebizmarts\MailChimp\Model\Api\Subscribers.php on line 112
Gravatar
Joined: 2019-01-16
Posts: 37

Scott Thomas - 2019-03-14

Hi Brian
Thanks for the update, but unfortunately it has an error, occurs when unsubscribing from newsletter and registering new customer in the signup page

Call to undefined method Ebizmarts_MailChimp_Helper_Data::getInterest() in {MAGENTO_PATH}\app\code\community\Ebizmarts\MailChimp\Model\Api\Subscribers.php on line 112



Sorry, I've uploaded a wrong file version please download it again (same link).

NEWSLETTER

Subscribe to our newsletter to receive emails and useful news articles