Forums / All Other Contributions/Addons / Newsletter Subscriber Discount

Newsletter Subscriber Discount

Views: 36,016

Results 101 to 120 of 120
8 Jul 2014, 6:29 PM
#101
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Newsletter Subscriber Discount

You just do a remove on it in Admin->Modules->Order Total where you are now.

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.

8 Jul 2014, 6:31 PM
#102
shopville avatar

shopville

Zen Follower

Join Date:
Aug 2012
Posts:
331
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

:blush: right..

19 Nov 2015, 12:56 PM
#103
renz avatar

renz

Zen Follower

Join Date:
Jun 2006
Posts:
439
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

will this work for 1.5.1

Thanks
Renz

19 Nov 2015, 1:28 PM
#104
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

Yes it will.

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.

23 Oct 2016, 6:59 PM
#105
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

The MailChimp integration in Newsletter Discount has been updated to API version 3.0. All other versions will be deprecated after 12/31/16 so please update!

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.

6 Nov 2016, 5:06 PM
#106
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

Please update to version 4.0a; a bug was found in the initial update.

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.

20 Feb 2017, 1:25 AM
#107
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

Please update to 4.0b. A bug was discovered in the subscriber confirmation logic for Mailchimp.

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.

1 Mar 2017, 11:33 AM
#108
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

Added a few small features:

  • dollar off per order setting (fixed discount rather than percent off),
  • caching of mailchimp subscriber status (means faster checkouts for subscribers).

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.

15 Nov 2018, 6:38 AM
#109
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

Update released: Fixes bug in API integration; moves log to logs folder.

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.

22 Mar 2022, 2:48 PM
#110
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

Is this likely to work with 1.5.7d? It's one of the features I had hoped to use in marketing.

22 Mar 2022, 3:05 PM
#111
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

Yes it will.

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.

23 Mar 2022, 4:45 PM
#112
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

swguy:

Yes it will.

Great, thanks!

26 Apr 2022, 4:19 PM
#113
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

I've run into a problem with this plug in and the Edit Orders plug in. Making a change in Edit Orders results in a blank screen when the change is saved. The change takes effect, but the screen refresh isn't happening. Here's the error I'm getting. Can this be fixed? I really need both modules.

[26-Apr-2022 14:07:51 UTC] Request URI: /Zentest-CHAR-jasPe/index.php?cmd=edit_orders&page=1&oID=9989&action=update_order, IP address: 67.44.192.73
--> PHP Fatal error: Uncaught Error: Call to undefined function mailchimp_check() in /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php:209
Stack trace:
#0 /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php(44): ot_newsletter_discount->is_subscriber()
#1 /home/newnatur/zentest/includes/classes/order_total.php(65): ot_newsletter_discount->process()
#2 /home/newnatur/zentest/Zentest-CHAR-jasPe/includes/functions/extra_functions/edit_orders_functions.php(1431): order_total->process()
#3 /home/newnatur/zentest/Zentest-CHAR-jasPe/includes/modules/edit_orders/eo_update_order_action_processing.php(453): eo_update_database_order_totals(9989)
#4 /home/newnatur/zentest/Zentest-CHAR-jasPe/edit_orders.php(84): require('/home/newnatur/...')
#5 /home/newnatur/zentest/Zentest-CHAR-jasPe/index.php(11): require('/home/newnatur/...')
#6 {main}
thrown in /home/newnatur/zentest/includes/modules/order_total/ot_newsletter_discount.php on line 209.

27 Apr 2022, 9:19 AM
#114
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

You have to pull in the storefront functions files in your admin.

Create a file called admin/includes/functions/extra_functions/mailchimp.php that contains:

<?php require DIR_FS_CATALOG . DIR_WS_FUNCTIONS . '/extra_functions/mailchimp.php'; require DIR_FS_CATALOG . DIR_WS_FUNCTIONS . '/extra_functions/mailchimp_discount_functions.php';

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.

27 Apr 2022, 12:30 PM
#115
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

Thanks, that appears to have taken care of it. I added the closing ?> also

27 Apr 2022, 12:49 PM
#116
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

HeleneWallis:

Thanks, that appears to have taken care of it. I added the closing ?> also
You don't want (or need) that closing ?> ... it can cause issues if there are spaces or new-lines after it, resulting in "Headers already sent" type issues.

15 Jun 2022, 5:15 PM
#117
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

lat9:

You don't want (or need) that closing ?> ... it can cause issues if there are spaces or new-lines after it, resulting in "Headers already sent" type issues.

Oops, thanks, I will take it back out. Sorry, I didn't see your reply earlier.

12 May 2023, 2:45 PM
#118
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

Where are the constants initially defined that are used in the Newsletter Discount (MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_INC_SHIPPING et al)? I have this installed in my 1.5.7d live store and have no errors there, but in my test install (also 1.5.7d, but a newer PHP version), I'm getting an undefined constant warning for each of them where they're called in \ADMIN\modules.php. I've looked in my live installation but don't see them defined anywhere before they're used.

I do see that these are named in a class constructor in /includes/modules/order_table/ot_newsletter_discount.php. But it was my understanding that you could not instantiate a constant that way (or at least that one should not do so). Or is this another of those PHP-version-dependent things? My test install is running 7.4.33 now, and I can't back down to a lower level without also going back to an earlier version of wamp, which I'm reluctant to do.

This is the warning I'm getting (repeated for each of the constants):

[10-May-2023 17:23:56 America/New_York] Request URI: /newnaturals/ADMIN/index.php?cmd=modules&set=ordertotal, IP address: 127.0.0.1
#1 ot_newsletter_discount->__construct() called at [C:\wamp64\www\newnaturals\ADMIN\modules.php:204]
#2 require(C:\wamp64\www\newnaturals\ADMIN\modules.php) called at [C:\wamp64\www\newnaturals\ADMIN\index.php:11]
--> PHP Warning: Use of undefined constant MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_SORT_ORDER - assumed 'MODULE_ORDER_TOTAL_NEWSLETTER_DISCOUNT_SORT_ORDER' (this will throw an Error in a future version of PHP) in C:\wamp64\www\newnaturals\includes\modules\order_total\ot_newsletter_discount.php on line 20.

12 May 2023, 7:01 PM
#119
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,733
Plugin Contributions:
56

Re: Newsletter Subscriber Discount

I thought I had updated this module but I guess not. Grab the latest from plugins; should fix this issue.

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.

13 May 2023, 6:51 PM
#120
helenewallis avatar

helenewallis

Totally Zenned

Join Date:
Jun 2016
Location:
Suffolk VA
Posts:
625
Plugin Contributions:
0

Re: Newsletter Subscriber Discount

swguy:

I thought I had updated this module but I guess not. Grab the latest from plugins; should fix this issue.

Thanks, that took care of it.