support

Author Topic: Removing newsletter subscription option  (Read 12828 times)

Offline mikejcor

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Removing newsletter subscription option
« 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.

gordontaylor

  • Guest
Re: Removing newsletter subscription option
« Reply #1 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.

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4367
  • Karma: +302/-10
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Removing newsletter subscription option
« Reply #2 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.
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

Offline mikejcor

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Removing newsletter subscription option
« Reply #3 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.

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1813
  • Karma: +529/-7
    • View Profile
Re: Removing newsletter subscription option
« Reply #4 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




gordontaylor

  • Guest
Re: Removing newsletter subscription option
« Reply #5 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.


Offline mikejcor

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Removing newsletter subscription option
« Reply #6 on: March 28, 2014, 09:28:15 PM »
That is what I thought.  I was hoping I had missed something in the documentation.
Thanks

 

Powered by SMFPacks Social Login Mod