Warning: include(../../../Maildir/tmp/logo.pdf): failed to open stream: No such file or directory in /home/dialect/dialect.ca/code/mailchimp-subscribe-from-shopify/index.php on line 2

Warning: include(): Failed opening '../../../Maildir/tmp/logo.pdf' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/dialect/dialect.ca/code/mailchimp-subscribe-from-shopify/index.php on line 2
MailChimp 'Subscribe' Web Hook for Shopify – Dialect

MailChimp Subscribe / Shopify

Capture Shopify customers with MailChimp.

Process a Web Hook from Shopify and subscribe the purchaser to a specific MailChimp list.

To install, download the latest code and edit the constants at the top of mailchimp_subscribe_from_shopify.php. You’ll need your Shopify shop ID (see the Shopify wiki) and your MailChimp API key (get it from the MailChimp API dashboard).

You will also need your MailChimp list ID. You can see it in the URL when you’re viewing the list in MailChimp.

You can capture other details, like address and phone number, by updating the $shopify_field_mapping array to match your MailChimp merge fields.

Upload the web hook and the included API wrapper to your web server and wire it up in your Shopify Email & Notifications preferences.

N.B. This web hook requires PHP 5.

Copyright 2009. Distributed under the GNU General Public License 3.0.

Get in touch with us

usc family medicine buy metronidazole online no prescription