Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some questions about the plugin #11

Open
outline4 opened this issue Sep 3, 2019 · 4 comments
Open

Some questions about the plugin #11

outline4 opened this issue Sep 3, 2019 · 4 comments

Comments

@outline4
Copy link

outline4 commented Sep 3, 2019

I have several questions about the plugin:

Are there more docs somewhere?

How can users opt-in for the Newsletter?
How does the template code look like?

Is there a possibility to add subscribers to specific groups of a mailchimp audience?

And I think there's a bug with synching:
When viewing the synched items, the images don't display because it sets the siteUrl twice:
´https://mysite.com/https:mysite.com/documents/images/…´

any help appreciated!

cheers
stefan

@Tam
Copy link
Member

Tam commented Sep 3, 2019

Hi there!

To answer your questions:

  1. There aren't any at the moment, but we are in the middle of writing detailed documentation for all our plugins, so they should be available soon.
  2. Users can opt-in to marketing emails by checking the lightswitch that you specified in the "Field Mappings" section of the plugin settings. This field must appear either on the User or Order (or both). A logged in user can have it set on their account (but guests won't be opted in), or customers can opt-in on a per-order basis (so guests can opt-in as well), or you can have it on both.
  3. You can't specify a group for subscribers to automatically go into, but you can use segments to filter by customers that subscribed through the plugin. You can do this in Mailchimp by creating a new segment in your audience and setting the condition to "Signup Source" -> "Was" -> "API - Generic" -> "My Mailchimp Commerce API Key (whatever you named the API key you are using)".

Regarding your syncing issue, how are you setting your sites base URL and your asset volumes base URL?

@outline4
Copy link
Author

outline4 commented Sep 18, 2019 via email

@Tam
Copy link
Member

Tam commented Dec 17, 2019

@outline4 What does your @web resolve to? It might be that it's resolving to a relative URL instead of an absolute one. Craft normally recommends you use the $DEFAULT_SITE_URL environment variable over @web where possible.

@erlendsr
Copy link

Any news on the documentation? Difficult to troubleshoot things that may or may not be working as they should.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants