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

ecommerce sync of guest carts #88

Open
jormon opened this issue Jun 16, 2017 · 0 comments
Open

ecommerce sync of guest carts #88

jormon opened this issue Jun 16, 2017 · 0 comments

Comments

@jormon
Copy link
Contributor

jormon commented Jun 16, 2017

Hi, I'd like to propose a change and check to see if it would engender support from the maintainers...

I'd like to make it possible to sync ecommerce data (and list signups) for guest orders as well. In our store, 75% of orders aren't associated with a user at checkout, but that shouldn't stop us from subscribing them to a list and having their orders tracked in Mailchimp.

I propose removing the checks around order.user_id being nil, and allowing the creation of Mailchimp customer resources for emails with a new Mailchimp customer_id schema.

  • If an order comes in with a user attached, continue to use customer_<spree_user_id> as the Mailchimp customer_id.
  • However, if an order comes in with no Spree user attached, use email_<email_address> as the Mailchimp customer_id.

Does anyone see challenges with this approach? If well implemented, would you consider adoption?

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

1 participant