- Posts: 57
- Thank you received: 5
Mailchimp - optional sign up to list
- Jonathan Colls
- Topic Author
- Offline
- Senior Member
Is there a way to have a tick box on plan sign up that asks if the user would like to sign up and then act upon it?
Thanks
Please Log in or Create an account to join the conversation.
- Calum
- Offline
- Elite Member
- Posts: 257
- Thank you received: 34
I don't think its an option in the current code, **BUT** I doubt it would be that hard to add. Very roughly off the top of my head...Jonathan Colls wrote: I would like to use the MailChimp integration but would like the user to Opt-in.
Is there a way to have a tick box on plan sign up that asks if the user would like to sign up and then act upon it?
Assuming its just an opt-in out you'd have a field called Newsletter, with drop down Yes / No options.
In the MailChimp code at the start of the function for "onSubscription" you'd add a statement like:
As I say this is abit off the top of my head... ..you'd need to check exactly how $row->plan presents the "newsletter" field. And depending if you use a radio or drop down etc it might be holding a numeric value instead of a text value. You could beef this up a lot more and have the specific lists to subscribe to named in the field and mapped over, and you could add config value in the plugin to identify the field name that lists the newsletters...
Please Log in or Create an account to join the conversation.
- Jonathan Colls
- Topic Author
- Offline
- Senior Member
- Posts: 57
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- Jonathan Colls
- Topic Author
- Offline
- Senior Member
- Posts: 57
- Thank you received: 5
Any alternatives or advice on only registering to a mailchimp list only if a custom field is ticked. It seems like a common thing that would be needed.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Jonathan Colls
- Topic Author
- Offline
- Senior Member
- Posts: 57
- Thank you received: 5
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
Actually, Christmas is not a holiday here, even new year is not a holiday here
Our new year holiday will come later, usually about one month after the new year of the most countries in the world
Regards,
Tuan
Please Log in or Create an account to join the conversation.
- Jonathan Colls
- Topic Author
- Offline
- Senior Member
- Posts: 57
- Thank you received: 5
Would you be able to add this feature to your to do list. I think it would be very useful/EU compliant to be able to optionally add a user to a mailchimp list based on a custom field being TRUE.
Kind regards
Jonathan
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.