Available at http://www.opencartstore.com.
Also, the module has been added to the official Mailchimp plugin list:-
http://www.mailchimp.com/plugins/.
Thanks.
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
ok, it is your module, but, plugin is for opencart
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!
Mailchimp Opencart Module
CREDITS FOR THE UPGRADE
Johnathan Shaw (Thanks, much appreciated).
DOWNLOAD
http://www.opencartstore.com
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
Thanks.
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
Available at http://www.opencartstore.com.
Thanks.
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
look at the footer of the page: http://shop.bushandleavenworth.com/prod ... duct_id=72
any ideas why this is happening?
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
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
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?
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.
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
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.
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>';
}
}
}
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
Obviously email variable has not been declared, do you have a code snippet for this?
Cheers.
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"> </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>
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
New features anyone would like to see in the new release? Come forth and tell!
www.opencartstore.com
Get OpenCart Templates and OpenCart Modules.
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!
The wheel keeps spinning.. not sure why. Is this a single opt-in module? If not, can we get that in your next version?imaginetech wrote:New features anyone would like to see in the new release? Come forth and tell!
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!!!
Thanks for any help,
Samantha
Users browsing this forum: No registered users and 128 guests