New Zenner
- Join Date:
- May 2008
- Posts:
- 9
- Plugin Contributions:
- 0
Newsletter Subscriber Discount
I have tried that. It moves everything around but the newsletter discount is still taken off of the subtotal before the quantity discount.
Views: 36,016
New Zenner
I have tried that. It moves everything around but the newsletter discount is still taken off of the subtotal before the quantity discount.
New Zenner
I am going crossed eyed. Can someone please help me. I am trying to make this wonderful mod a success for me.
I would like for it not to give a coupon and a newsletter discount at the same time. I truly have no clue where I am going to edit this or what I add to it. I have gone through the forums for hours trying to find a answer.
Any help would be great. Thanks so much.
Administrator
Response by email.
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.
New Zenner
I offer Free Shipping on orders over $47.00 by using the freeoptions shipping module in Zen cart.
With the Newsletter module it appears the freeoptions module (free shipping feature) is being applied before my 5% Newsletter discount.
For instance, they may order 48.00 worth of items but the 5% Newsletter discount takes it below 47.00. But the cart still gives them free shipping. I don't want the free shipping to be evaluated until after the Newsletter discount is applied and the total is THEN above 47.00.
Any help is appreciated.
New Zenner
swguy:
Each of the discounts has a sort order in admin->modules->order total. Just set the sort order of Quantity Discounts to be lower than Newsletter Discount, and it will be done that way.
Any other ideas since this is not working?
Administrator
You'd have to write code. I forgot that it totals the cart by itself; there's no easy way to do this without modifying the way it works.
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.
New Zenner
sent an email.
New Zenner
I know its me but I have gone through this thread and read the instructions on the sw guy web site. The module when tested works with zen cart newsletter. When I switch over to MailChimp is where I do not see the discounts to MailChimp subscribers.
I have gone and downloaded the latest news letter discount from sw guy and I have gone and downloaded the lates API at MailChimp. I have created a MailChimp Account, created a list to test with. Gone into account and created an API Key labeled zen cart.
In the admin I have installed and switched from zen cart to MailChimp and entered in the username and password.
Where does the MailChimp API key go? I know it says in the installation instructions at step 5 > "If you are using MailChimp, login to your MailChimp account. At the top of the Mailchimp page is a dropdown called "Account." Select "api keys & info" and add an api key to your account. This is the value you should enter in the "API Key" field in Newsletter Discount config. "
I have looked in the Modules=>Order Total=> Newsletter Discounts and do not see where to place the API Key. I have opened the files provided and still I do not see where to place this key.
Any help in pointing this dummy in the right direction would be appreciated.
Zen Cart Version 1.39h
PHP 5
Administrator
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.
New Zenner
swguy:
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).
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.
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();
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.
again thank you for responding :cool:
I downloaded the latest version listed
Author: That Software Guy (swguy)
Version: 1.3
Zen Cart™ Version: v1.3.8
Update added on Nov 13 2008
and see no difference when re-installing it.
Zen Cart Version 1.39h
PHP 5
Administrator
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.
Administrator
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.
New Zenner
swguy:
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
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
Administrator
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.
Totally Zenned
How does newsletter discount prevent other discounts from being used?
Cheers!
v2.2.1
Administrator
It doesn't. Discounts don't know about each other unless custom logic has been added to prevent them being used together on a case by case basis.
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.
Totally Zenned
Can you write some for it?
Cheers!
v2.2.1
Administrator
Those crazy chimps are up to their usual tricks. Please do NOT update to MailChimp API 1.3 on your own; Newsletter Discount AND MailChimp Integration will need updates first. When you do update, both modules need to be updated at the same time; API 1.3 contains breaking changes (wrt existing code).
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.
Administrator
Newsletter Discount has been updated to MailChimp API 1.3.
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.
Zen Follower
Anyway to disable? i only see
This module is installed
true
No option for false
Tell staff why this post should be reviewed.