AbanteCart Community

Shopping Cart Operations => Support => General Support => Topic started by: mikejcor on March 28, 2014, 02:17:12 PM

Title: Removing newsletter subscription option
Post by: mikejcor on March 28, 2014, 02:17:12 PM
Is there anyway to disable the newsletter subscribe options?  I don't want to have that option available and am hoping there is a switch to turn it off and I just can't find it.
Title: Re: Removing newsletter subscription option
Post by: gordontaylor on March 28, 2014, 05:03:51 PM
It's in layouts....
You can change it to none...then turn it off in the blocks.

Remember to turn it off on all the pages in layouts.
Title: Re: Removing newsletter subscription option
Post by: abantecart on March 28, 2014, 05:59:54 PM
Possibly we need to add option in layout/block selection to add/or remove a block in all layout/pages. Did not mean to change the topic, but I a was thinking of this the other day.
Title: Re: Removing newsletter subscription option
Post by: mikejcor on March 28, 2014, 06:41:00 PM
I was able to take it off all the pages in the layout, but it still shows up in the Create Account page.  Also, it won't let me remove it in the blocks.
Title: Re: Removing newsletter subscription option
Post by: llegrand on March 28, 2014, 09:04:37 PM
Abantecart -  I vote that would probably be a really great feature to add .  Please continue to see if it makes sense.

It seems that one always forgets to do that on some page.

Lee



Title: Re: Removing newsletter subscription option
Post by: gordontaylor on March 28, 2014, 09:11:28 PM
My bad, you can't turn that block off. To remove it from the create account page, you'll need to modify the template. It is embedded in the template.

It's under storefront>view>default_HTML5>template>pages>account>create.tpl

Code: [Select]
<h4 class="heading4 "><?php echo $text_newsletter?></h4>
<div class="registerbox form-horizontal">
<fieldset>
<div class="control-group">
<label class="control-label"><?php echo $entry_newsletter?></label>
<div class="controls">
    <?php echo $form['newsletter']; ?>
</div>
</div>
</fieldset>
</div>

lines 97 through 107...remove those it will remove the newsletter solicitation.

Title: Re: Removing newsletter subscription option
Post by: mikejcor on March 28, 2014, 09:28:15 PM
That is what I thought.  I was hoping I had missed something in the documentation.
Thanks