Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / How to have "subscribe to Our Newsletter" box ticked when you got to registration?

How to have "subscribe to Our Newsletter" box ticked when you got to registration?

Locked

Started by buxton1 on 26 Feb 2010, 10:26 AM · Views: 1,013

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
26 Feb 2010, 10:26 AM
#1
buxton1 avatar

buxton1

New Zenner

Join Date:
Jun 2009
Posts:
51
Plugin Contributions:
0

Post #1 by buxton1

Hey guys,

any ideas how to have "subscribe to Our Newsletter" box already ticked when you got to registration page.

I think it may be to do with the tpl_modules_create_account.php page:

<?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 } ?>
26 Feb 2010, 11:20 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

admin > config > customer details > Show Newsletter Checkbox > set to "2"

Zen-Venom Get Bitten

26 Feb 2010, 11:23 AM
#3
buxton1 avatar

buxton1

New Zenner

Join Date:
Jun 2009
Posts:
51
Plugin Contributions:
0

Post #3 by buxton1

thank you very much for your reply Kobra, that worked perfectly!!