Zen Cart Logo
Forums / General Questions / Show Newsletter Checkbox not displaying with COWOA addon

Show Newsletter Checkbox not displaying with COWOA addon

Locked

Views: 1,967

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
12 Nov 2009, 3:27 PM
#1
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Show Newsletter Checkbox not displaying with COWOA addon

I'm using ZC 1.38A w/ COWOA. I've tried using the ADMIN>CUSTOMER DETAILS>"Show Newsletter Checkbox" with 1 or 2 as settings. No matter what I have in admin this checkbox is not displayed.

What file do I need change to make this checkbox appear?

Thomas Brophy

12 Nov 2009, 3:52 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Tj,
What do you have here?

admin panel/ configuration/ email options/ **Display "Newsletter Unsubscribe" Link
**

  1. true or false

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

12 Nov 2009, 4:04 PM
#3
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

It's False, but I did try it as True.

Thomas Brophy

12 Nov 2009, 4:31 PM
#4
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Tj,
may i see a link to the site???

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

12 Nov 2009, 4:52 PM
#5
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Sure. I have turned on the admin panel/ configuration/ email options/ Display "Newsletter Unsubscribe" to True and the ADMIN>CUSTOMER DETAILS>"Show Newsletter Checkbox" to 2.

It is here

I have tried it on a PC with IE and Firefox and a Mac Mini w/ Fire Fox. All appear the same.

Thomas Brophy

12 Nov 2009, 4:57 PM
#6
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Tj,
Your site does not require a customer to log in before they purchase. If you require this, you will notice the newsletter subscribe box at the bottom, and you half turned off your sideboxes for the unsubcribe to show up..

I believe there is a mod in the Free Software Add Ons, that might benefit you so a customer who is not required to log on to your site can sign up for a newsletter

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

12 Nov 2009, 5:01 PM
#7
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Thanks for taking a look. Yes I have it setup with the COWOA module, so the logon process is bypassed. I will take a look at your suggestion in the downloads area.

Thomas Brophy

12 Nov 2009, 5:03 PM
#8
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Tj,
Before you do that. Yes I see the box on Step 1, to use Text or Html, the Heading is not showing up called Newsletter.

Find the file associated with this in CWOA

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.

12 Nov 2009, 5:19 PM
#9
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

I'll have to do some research on where that could be. Thanks.

Thomas Brophy

12 Nov 2009, 6:02 PM
#10
tjb avatar

tjb

New Zenner

Join Date:
Feb 2008
Location:
Illinois
Posts:
54
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Figured it out...

Took the following code from /includes/templates/template_default/templates/tpl_modules_create_account.php

<fieldset> <legend><?php echo ENTRY_EMAIL_PREFERENCE; ?></legend> <?php if (ACCOUNT_NEWSLETTER_STATUS != 0) { ?> <?php echo zen_draw_checkbox_field('newsletter', '1', $newsletter, 'id="newsletter-checkbox"') . '<label class="checkboxLabel" for="newsletter-checkbox">' . ENTRY_NEWSLETTER . '</label>' . (zen_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="alert">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?> <br class="clearBoth" /> <?php } ?>

and added it to the tpl_modules_no_account.php file. Now the checkbox appears and I can control the default setting by the ADMIN>CUSTOMER DETAILS>"Show Newsletter Checkbox". Also confirmed that it is recording the checkbox results by reviewing the Customers table in the database.

Thomas Brophy

12 Nov 2009, 6:07 PM
#11
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,185
Plugin Contributions:
0

Re: Show Newsletter Checkbox not displaying with COWOA addon

Tj,
Nice work, Clean and Efficient.

Looks like I will be receiving a free album from MJ.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.

Zen Cart Certified hosting at myZenCartHost.com.