• Resolved alpha2

    (@neoseeyou)


    Hello

    I want to download your plugin for a project but first i need to know if it can complete my scenario.

    I run a subscription website and want to add automaticaly customers emails (who baught a subscription) to a specific mailchimp newsletter list and unsubscribe automaticaly their email if they stop or pause their subscription renewal.

    User’s role switch depend if his subscription is active or not.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Lap

    (@lapzor)

    Are you using WooCommerce subscriptions?

    https://github.com/ibericode/mc4wp-snippets/blob/master/add-ons/user-sync/woocommerce-subscriptions.php

    Hope that helps. If you have any questions, please let us know!

    Thread Starter alpha2

    (@neoseeyou)

    Hello Lap

    yes i am using woocommerce subscription fortunatly ??

    Thank you for the snippet i will test it.

    Does it also remove users from the list after they strop their active subscription?

    Again, thank you for your support

    Thread Starter alpha2

    (@neoseeyou)

    Bump

    In fact what i want is to be able to unsubscribe email user on a specific list if his user role change (because his subscritpion is on hold or cancel)

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Neoseeyou,

    Yes, with the linked snippet the plugin will keep a MailChimp list all users with an active subscription.

    You can further narrow down this list by setting a specific user role on the MailChimp User Sync settings page.

    Every user not matching the specific criteria (so active WooCommerce subscription + certain user role) will be unsubscribed.

    Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Erase user depend user role’ is closed to new replies.