Post by dmbrownfield » Fri Jun 20, 2008 6:09 am

I will not offer a newsletter on my site.  How do I get rid of this?  Thanks.

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by bruce » Fri Jun 20, 2008 8:26 am

The easiest way is

In catalog\template\default\content\account_create.tpl you will find

Code: Select all

    <div class="e"><?php echo $text_newsletter; ?></div>
    <div class="f">
      <table>
        <tr>
          <td width="150"><?php echo $entry_newsletter; ?></td>
          <td><?php if ($newsletter == 1) { ?>
            <input type="radio" name="newsletter" value="1" CHECKED />
            <?php echo $text_yes; ?>
            <input type="radio" name="newsletter" value="0" />
            <?php echo $text_no; ?>
            <?php } else { ?>
            <input type="radio" name="newsletter" value="1" />
            <?php echo $text_yes; ?>
            <input type="radio" name="newsletter" value="0" CHECKED />
            <?php echo $text_no; ?>
            <?php } ?></td>
        </tr>
      </table>
    </div>
delete it and replace with

Code: Select all

<input type="hidden" name="newsletter" value="0" />
This will hide the newsletter option from your customers and automatically unsubscribe them.

Make a similar modification to account_update.tpl and you are done.

The newsletter stuff will still be in the admin but it will now have no effect so you can ignore it there.

Active Member

Posts

Joined
Wed Dec 12, 2007 2:26 pm

Post by dmbrownfield » Sun Jun 22, 2008 3:51 am

Worked like a charm - thanks much !!

New member

Posts

Joined
Fri May 09, 2008 12:37 am

Post by osglass » Mon Sep 08, 2008 5:02 pm

bruce im using the 0.7.7

i dont see account_update.tpl on catalog\template\default\content\?

Any suggestion?  i want to get rid of the newsletter also  :-[

New member

Posts

Joined
Mon Apr 07, 2008 7:52 pm

Post by Qphoria » Mon Sep 08, 2008 6:34 pm

osglass wrote: i dont see account_update.tpl on catalog\template\default\content\?
bruce wrote: In catalog\template\default\content\account_create.tpl you will find
create.. not update

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am
Who is online

Users browsing this forum: No registered users and 3 guests