Create a free account

Blog

News, tips and all things Campaign Monitor

Campaign Monitor becomes friends with osCommerce

Posted by David Greiner on March 12, 2008

Clever Campaign Monitor customer Robert Fisher from FWR Media just got in touch to let us know about a sweet Campaign Monitor add-on he's just announced for the super popular osCommerce open source e-commerce platform.

The contribution allows anyone purchasing a product through an osCommerce store to opt-in to a newsletter and be automatically subscribed to a list in your Campaign Monitor account. Each customer can even manage their subscription preferences and unsubscribe in their "My Account" section of the store they bought from. Rob's made the process as easy as uploading a single file, adding your API keys and you're done.

Check out the details of this very cool add-on, along with instructions on setting this up yourself.

4 comments so far

lukemcr

wrote on March 13, 2008 1:03 AM

This is awesome. I hope this gets ported over to Zen Cart. I might just have to do it myself if someone else doesn't do it before me. :-)

Dana

wrote on March 13, 2008 3:36 AM

We'll actually be doing something similar for ZenCart and MailBuild later this year, so if you don't beat us to it, watch for it. :)

Dave Greiner

wrote on March 13, 2008 2:30 PM

Cheers guys, we'd love a Zen Cart version to be developed. If there is any help our team can provide, just let us know.

FWR Media

wrote on March 14, 2008 9:18 AM

Re: CRE Loaded and Zen Cart

As everybody probably knows both are forks running on oscommerce code anyway.

I checked two versions of CRE Loaded and it is exactly the same code in exactly the same place so CRE users should be fine with this (untested)

Zen Cart is a little more tricky as they have moved the code about a bit more.

includes/modules/create_account.php about line 72 search for ..

if (isset($_POST['newsletter'])) {

Note that Zen uses $_POST not $HTTP_POST_VARS and they have replaced tep_db_prepare_input with zen_db_prepare_input

Other than that should be quite simple.

includes/modules/pages/account_newsletters/header_php.php

About line 32 search for

if ($newsletter_general != $newsletter->fields['customers_newsletter']) {
$newsletter_general = (($newsletter->fields['customers_newsletter'] == '1') ? '0' : '1');

And just use a bit of common sense with the changed function names and the class method of running the query.

Got anything to add?

Name

Web site

Your comments (basic HTML is fine)

Search all posts

Dig into a category

Stay in the loop

Subscribe to our RSS feed

Prefer updates via email? Sign up below and we'll send you all the good bits each month.

Popular articles

Why we need standards support in email
Read why standards in HTML email are so important, and what we're doing about it.

Email design guidelines
Learn how to design for images being turned off, preview panes and other useful tips.

CSS support in email in 2007
The CSS support of every popular email environment with recommendations to boot.

Image blocking in email
A roundup of how each of the popular email clients suppress images in HTML email.

Can I use flash in email?
We test flash support in all the popular email clients. The verdict - don't do it.

Email design gallery

Our email design gallery showcases more than 150 amazing email designs sent by our talented customers.