Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Change Default Newsletter to YES?


fasteddie

Recommended Posts

look for this line in your create_account.php file

 

<?php echo tep_draw_checkbox_field('newsletter', '1') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?>

 

and change it to

 

<?php echo tep_draw_checkbox_field('newsletter', '1', 'checked') . ' ' . (tep_not_null(ENTRY_NEWSLETTER_TEXT) ? '<span class="inputRequirement">' . ENTRY_NEWSLETTER_TEXT . '</span>': ''); ?>

 

that should do it

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...