News:

AbanteCart v1.4.2 is released.

Main Menu
support

Removing newsletter subscription option

Started by mikejcor, March 28, 2014, 02:17:12 PM

Previous topic - Next topic

mikejcor

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.

gordontaylor

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.

abantecart

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.
Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

mikejcor

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.

llegrand

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




gordontaylor

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

<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.


mikejcor

That is what I thought.  I was hoping I had missed something in the documentation.
Thanks

Forum Rules Code of conduct
AbanteCart.com 2010 -