Post by imaginetech » Thu Apr 08, 2010 4:47 pm

This module has been updated to for Opencart v1.4.6.

Available at http://www.opencartstore.com.

Also, the module has been added to the official Mailchimp plugin list:-

http://www.mailchimp.com/plugins/.

Thanks.

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by Cyberdude » Thu Apr 08, 2010 7:03 pm

ok, thanks for that, but logo on mailchimp site should be opencar logo.

ok, it is your module, but, plugin is for opencart :D

Logohunt.Net, Get Amazing custom logo designs for your business in just a few Hours! Start a online logo design contest for only $29 and watch designer logos roll in the same day!


User avatar
Active Member

Posts

Joined
Wed Feb 03, 2010 10:39 pm
Location - Belgium

Post by imaginetech » Mon Jul 19, 2010 12:55 pm

UPDATED FOR OPENCART V1.4.8

Mailchimp Opencart Module

CREDITS FOR THE UPGRADE

Johnathan Shaw (Thanks, much appreciated).

DOWNLOAD

http://www.opencartstore.com

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by barnesnet » Sat Oct 02, 2010 10:44 pm

Any plans for 1.4.9?
Just downloaded the latest version but as you may know it does not work with 1.4.9.1

New member

Posts

Joined
Sat Oct 02, 2010 6:18 am


Post by imaginetech » Sat Oct 02, 2010 11:57 pm

I am aiming to have a whole lot of modules updated within the next few weeks.

Thanks.

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by imaginetech » Thu Oct 07, 2010 8:25 pm

Just updated the module to work with version 1.4.9.1.

Available at http://www.opencartstore.com.

Thanks.

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by guisauer » Wed Oct 27, 2010 2:59 pm

does this work with 1.3.4?

New member

Posts

Joined
Sun Dec 06, 2009 7:51 am

Post by imaginetech » Wed Oct 27, 2010 3:13 pm

Yeah, I have an old version that works with 1.3.4. PM me your email address and I'll send it to you.

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by guisauer » Thu Oct 28, 2010 4:19 am

I'm having that problem where the wheel spins, then it disappears and nothing happens.
look at the footer of the page: http://shop.bushandleavenworth.com/prod ... duct_id=72

any ideas why this is happening?

New member

Posts

Joined
Sun Dec 06, 2009 7:51 am

Post by imaginetech » Thu Oct 28, 2010 8:40 am

It appears that the controller which should be at module/mailchimp isn't responding.

I'd confirm that the controller file has been put into the correct location.

On a side note I'm rewriting this module to including some new features is there anything that people want to see in the module? If so list them here and I'll consider them.

Cheers

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by guisauer » Thu Oct 28, 2010 9:04 am

It might be because I tried moving the module to the footer, away from the sidebars. I'll double check the controller.

But when I do have it in the sidebar, I get that problem where the wheel keep spinning forever.... It sounds like Cyberdude had that same problem... I wonder how he fixed it....

Does this module do a single opt-in subscription? or double opt-in?

New member

Posts

Joined
Sun Dec 06, 2009 7:51 am

Post by imaginetech » Thu Oct 28, 2010 9:25 am

I don't think that is the problem. Mailchimp had some issues a while back that caused those errors but they have been fixed.

Your problem appears that that controller file is not responding. If you click the button with out entering an email address then controller should identify this and return and error without ever sending anything to the mailchimp service.

As yours is not doing this I'm fairly certain you have put the controller file in the wrong location.

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by cantykiwi » Thu Oct 28, 2010 11:34 am

Hmmm, just downloaded and installed the module as per install.txt. Seems to work but when submit is pressed comes back with message 'Error: Join Failed'. Any ideas what the most likely cause of this would be?

Am using 1.4.9.2 on my test server. Can sign up for mailchimp from our main website homepage which has a mailchimp signup form, so I know i can contact mailchimp correctly. When I go to the API key page on mailchimp shows that a connection was made, but has result of failed.

Have got the API key and List ID in the module settings, anything else need changing?

Thanks.

New member

Posts

Joined
Mon Sep 13, 2010 12:37 pm

Post by imaginetech » Thu Oct 28, 2010 11:51 am

The Joined Failed is just a generic error msg. If your settings are ok it usually means that the email address is already on the list.

I am upgrading this whole module and part of the upgrade is sending through the mailchimp error messages to the client. If you replace the send() function in the mailchimp controller file with this one you will get more verbose error messages that will tell you exactly what went wrong.

Code: Select all

public function send() {
		if ($_POST['email']) { 
			@require_once('system/library/MCAPI.class.php');
			
			$email = $_POST['email'];
			$api = new MCAPI($this->config->get('mailchimp_api_key'));
			$list_id = $this->config->get('mailchimp_list_id');
			
			$result = $api->listSubscribe($list_id, $email, '');

			if ($result) {
				echo '<div style="margin: 3px 0px 3px 0px; padding: 3px; background: #acff99; border: 1px solid #53ba3b; color: #53ba3b;">Thank you.</div>';
			} else {
				echo '<div style="margin: 3px 0px 3px 0px; padding: 3px; background: #ff9d9d; border: 1px solid #fb3f3f; color: #fb3f3f;">' . $api->errorMessage . '</div>';
			}
		}
	}

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by cantykiwi » Thu Oct 28, 2010 12:17 pm

Hmmm nice, did that but now get following error message: 'Notice: Undefined index: email in ...\shop\catalog\controller\module\mailchimp.php on line 44'

Obviously email variable has not been declared, do you have a code snippet for this?

Cheers.

New member

Posts

Joined
Mon Sep 13, 2010 12:37 pm

Post by imaginetech » Thu Oct 28, 2010 12:32 pm

Sorry, yes change your mailchimp.tpl to this:-

Code: Select all

<div class="box">
  <div class="top"><?php echo $heading_title; ?></div>
  <div class="middle">
    <form id="mailchimp">
	  <div><input type="text" name="email" id="email" onclick="this.value='';" value="<?php echo $entry_email; ?>"/></div>
      <div id="mcResponse"></div>
	  <div><a class="button" id="mailchimp_button"><span><?php echo $button_submit; ?></span></a></div>
	</form>
  </div>
  <div class="bottom">&nbsp;</div>
</div>


<script type="text/javascript"><!--
function mailchimp_send () {	
	var params = {
		url: 'index.php?route=module/mailchimp/send',
		type: 'post',
		dataType: 'text',
		data: {email: $('#email').val()},
		beforeSend: function () {$('#mcResponse').html('<img src="image/ajax-loader.gif">');},
		success: function (data) {
					$('#mcResponse').html(data);
				}
	};
	
	$.ajax(params);
}

$(function () {
	$('#mailchimp_button').live('click', mailchimp_send);
});
//--></script>


Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by imaginetech » Thu Oct 28, 2010 12:34 pm

This is all part of the new version.

New features anyone would like to see in the new release? Come forth and tell!

Image
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.


User avatar
Active Member

Posts

Joined
Fri Sep 04, 2009 12:25 pm
Location - Darwin, Australia

Post by cantykiwi » Thu Oct 28, 2010 1:13 pm

Awesome thanks mate! :) With that code I now know what's causing the error:-

As mentioned in earlier post we already had a signup form on our website homepage with additional fields that we have made required to be filled in, and of course these are not being passed from your module which only has an email field to fill in, so it is generating an error saying the required field is missing!

I will custom mod your module for the extra fields we require on our shop, but might I suggest that if possible your module has some way of adding extra fields that can be passed to mailchimp that is configurable in the admin side.

Anyway, awesome work, and keep up the great work mate! ;D

New member

Posts

Joined
Mon Sep 13, 2010 12:37 pm

Post by guisauer » Thu Oct 28, 2010 3:08 pm

imaginetech wrote:New features anyone would like to see in the new release? Come forth and tell!
The wheel keeps spinning.. not sure why. Is this a single opt-in module? If not, can we get that in your next version?

And can we also get a way of inserting this signup form on other pages of the website that are not inside the OC system?

Thanks!!!

New member

Posts

Joined
Sun Dec 06, 2009 7:51 am

Post by lunajewellery » Thu Oct 28, 2010 10:50 pm

I just downloaded the mailchimp module (and I'm using v1.4.9.1) but it doesn't seem to be working at all. My website won't load when I have the module enabled and says something about the controller - module - mailchimp.php file not working. I have literally just uploaded it so is there something which I need to change in order for it to work?
Thanks for any help,
Samantha

Newbie

Posts

Joined
Wed Oct 27, 2010 2:25 am
Who is online

Users browsing this forum: No registered users and 11 guests