We've installed both Store and Mailchimp subscribe however seem to have run into a few issues:
- If a user registers via the default register screen, the form works and they get subscribed to mailchimp if they select Yes to subscribe, yay!
- If a user registers via our store checkout form their choice is saved in their expressionengine profile, however it won't add them to the mailchimp list, booo!
We've basically setup a custom field with the options yes and no, if they select yes it should subscribe them to the mailing list.
We've then mapped this custom field to a store custom field (order_custom2) and used the following code in the checkout form:
<div class="control-group {if error:order_custom2}error{/if}">
<label class="control-label" for="order_custom2">Newsletter</label>
<div class="controls">
<select name="order_custom2" id="order_custom2" >
<option value="Yes">Subscribe</option>
<option value="No">Don't Subscribe</option>
</select>
{error:order_custom2}
</div>
</div>
We're struggling to see why this isn't working and any ideas would be much appreciated!