Giter VIP home page Giter VIP logo

jany-m / woocommerce-mailchimp-product-to-list-sync Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 65 KB

WordPress plugin: assign WooCommerce products to Mailchimp Audiences (old Lists) and sync customers to them upon completed purchase/payment.

License: GNU General Public License v3.0

CSS 2.05% JavaScript 3.06% PHP 94.89%
wordpress wordpress-plugin mailchimp mailchimp-api mailchimp-audience woocommerce woocommerce-plugin woocommerce-extension sync mailchimp-lists

woocommerce-mailchimp-product-to-list-sync's Introduction

WooCommerce: Sync Product's Customer to Mailchimp Audience

Contributors: Shambix, Dukessa Author URL: https://www.shambix.com Tags: woocommerce, mailchimp, mailchimp api, mailchimp sync, woocommerce sync, mailchimp audience, mailchimp lists Requires at least: 5 Tested up to: 5.8.3 Stable tag: trunk License: GPLv3 or later License URI: http://www.gnu.org/licenses/gpl-3.0.html

Assign WooCommerce products to Mailchimp Audiences (old Lists) and sync customers to them upon completed purchase.

Description

This plugin allows you to create or assign a Mailchimp Audience (old List) to a product.

Once a customer purchases the product and payment is complete (either through online payment eg. Paypal/Stripe or by admin setting order as completed), they will be automatically synced to that product's assigned audience.

In case the Mailchimp Audience gets deleted from the Mailchimp dashboard, in the Woocommerce order page backend, it will show as Audience not assigned anymore, so admin can re-assign one to the product, or create a new one. Admin will then be able to force sync directly from the WooCommerce order backend and check if user is already synced.

You can leave the Audience name empty, in the Product edit page, in that case the Audience name will be created automatically following the format SKU-slug-of-product.

To save the assigned or new Audience to the product, just publish the product itself.

Remember to add your Mailchimp API key in the plugin's options or the plugin won't work.

You can also check and export to csv, the plugin's activity log, from the its options page, in case of sync errors (this meant for developers) and also how many Audiences you currently have on your Mailchimp account as well as the number of subscribers in each.

CURRENTLY this plugin does NOT ask confirmation to the customer, to be synced to the Mailchimp Audience, so the customer has no way of opting-out or refusing prior to be subscribed, so please check your Country's privacy regulations before using it and act accordingly: the responsibility to inform the customer in compliance to the applicable laws, and/or add custom code to allow the user to opt-out, is yours and yours only.

Requirements

Questions?

Check the FAQ before opening new threads in the forum!

Contact me if you want a custom version of the plugin, for a fee (contact form at shambix.com).

Manual Installation

  1. Upload woocommerce-mailchimp-product-to-list-sync.zip to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to the 'WooCommerce' menu -> 'Mailchimp Product sync' submenu, to access the plugins settings and log
  4. Add your Mailchimp API to the plugin's options, or the plugin won't work/sync anything

Frequently Asked Questions

Can I assign more than one Audience to a single product?

Nope.

Can I sync to more than one Mailchimp account?

Nope.

How do I save the Audience to the product?

Go to the product edit page, in the WordPress backend, assign an existing Audience or create a new one, then simply save the product itself (publish it).

I deleted/archived asubscriber from an assigned Audience from Mailchimp by mistake!

You can check the meaning of each Audience default value, inside the plugin's options (WooCommerce -> Mailchimp Product sync), from the official Mailchimp API documentation.

I deleted an assigned Audience from Mailchimp by mistake!

Just go back to the Product edit page and assign a new or existing list.

Then go in your WooCommerce Order list and for all orders that contained that product, make sure you get into each one and force the re-sync of the customer.

I deleted/archived asubscriber from an assigned Audience from Mailchimp by mistake!

Go in your WooCommerce Order list and find the Order from that particular customer. Now you can force the re-sync of the customer to that assigned Audience.

How do I disconnect a product from a list?

In the product edit page, just deselect the list (choose -- Select --).

Something isn't working!

You want to make sure you added your Mailchimp API key correctly, to the plugin's option page.

Then please have a look at the plugin's activity log and show it to a developer. It will contain everything they need to know to help you out.

You can also export the log to csv and change the csv delimiter to another symbol (default is ,).

Unfortunately I cannot provide timely individual support, for lack of time (this is a free plugin, thanks for understanding). You can open a new topic in the support forum, I'll do my best to help, whenever I have some spare time.

Screenshots

  1. WooCommerce backend Product page - Mailchimp Metabox to assign or create an Audience for the product
  2. WooCommerce backend Order page - Customer sync status to assigned Audience (customer has been subscribed to Audience)
  3. WooCommerce backend Order page - Assigned Audience doesn't exist anymore on Mailchimp (probably deleted manually)

Changelog

1.0.2

  • Added default list values to options page
  • Added control checkbox to exclude product
  • Added possibility to disconnect product from list

1.0.1-beta

  • Initial release of plugin

woocommerce-mailchimp-product-to-list-sync's People

Contributors

jany-m avatar

Watchers

 avatar  avatar

woocommerce-mailchimp-product-to-list-sync's Issues

No list sync

Hi, new here, so please excuse my possible ignorance. Installed this plugin, used MailChimp API key, connected product to list. But after a test-buy, nothing happens. Status of the poduct is 'Completed'.
Also, no log... I must be overlooking something. Where to look?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.