The API key is the last field you should see in admin->modules->order total->newsletter discount on the right hand side where you set the parameters (such as discount).
The API key is the last field you should see in admin->modules->order total->newsletter discount on the right hand side where you set the parameters (such as discount).
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thank you for responding, I thought the same thing, so I am providing a snapshot from the admin ->modules->order total->news letter discount ->configuration. I have removed the username and password.
As you will see in the screenshot there is no input box available to place an API Key under the MailChimp login info.
Screenshot Click here for screenshot of News Letter Admin
I also opened up the ot_newsletter_discount file and looked at the function and did not see it listed.
With your response and my conclusion is somehow I have downloaded a wrong version so I'll go back a re-down load again to check to make sure I have your latest version and I'll post back to let you know if I get all the input fields.function ot_newsletter_discount() {
$this->code = 'ot_newsletter_discount';
$this->title = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_TITLE;
$this->description = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_DESCRIPTION;
$this->sort_order = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_SORT_ORDER;
$this->include_shipping = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_INC_SHIPPING;
$this->include_tax = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_INC_TAX;
$this->calculate_tax = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_CALC_TAX;
$this->nltype = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_NLTYPE;
$this->discount_amount = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_AMOUNT;
$this->userid = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_MAILCHIMP_USERID;
$this->password = MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_MAILCHIMP_PASSWORD;
$this->credit_class = true;
$this->output = array();
again thank you for responding
I downloaded the latest version listed
and see no difference when re-installing it.Author: That Software Guy (swguy)
Version: 1.3
Zen Cart™ Version: v1.3.8
Update added on Nov 13 2008
Last edited by WHOSYOURDADDY; 7 May 2011 at 12:24 PM.
Zen Cart Version 1.39h
PHP 5
Hmm... I very cleverly didn't release version 2.0 of MailChimp Newsletter Discount after writing it last August. This version has the new API which requires a key, and the setting in admin, and it has the API Key field in admin.
Let me double check this and I'll release this new code shortly.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Weird. OK, the new version has been released.
Please note that you want to use the API in the contribution, not something you have downloaded which might be more recent and incompatible.
The instructions in the Newsletter Discount version 2.0 download match what's on my website.
Scott
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
Thanks Scott, sorry for the trouble but I seem to be good at that LOL
Uninstalled and removed old version, uploaded and replaced with the new version (used the contributions API), re-installed, Yes there is an API Key field Sweet. Tested with MailChimp subscriber account (shows discount)and without MailChimp subscriber account (does not show discount) and works perfectly!
Thanks again Scott and sorry to be a bother!
Zen Cart Version 1.39h
PHP 5
LOL not a bother at all - I'm glad the new software is now available.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
How does newsletter discount prevent other discounts from being used?
Cheers!
v2.2.1