Page 1 of 2
Newsletter - default Subscribe
Posted: Mon Sep 13, 2010 10:29 pm
by OC2PS
We all know from experience that users are a lazy bunch (just look at me!)...it's hard to get them to do stuff...
In the registration process, the default for receiving newsletter is NO. 99% of the users were saying no to receiving newsletters on my shop and I was worried...did they not want to receive newsletters?
Then I changed the default to YES, and now 99% of the users are saying yes to receiving newsletters...as it turns out, most users don't bother changing the default.
So, my feature request is this: in the core, let's make the default YES for newsletters in the registration process.
Re: Newsletter - default Subscribe
Posted: Mon Sep 13, 2010 10:56 pm
by Qphoria
Glad you agree that you are lazy

Too lazy to search
http://forum.opencart.com/viewtopic.php?f=19&t=19372
Re: Newsletter - default Subscribe
Posted: Mon Sep 13, 2010 11:04 pm
by OC2PS
3rd time this year (and month...2nd time today) ;-)
I do realize that this can be done. In fact I did this in my 1.2.9 (my current production version)...(did I hear another "lazy"?).
What I am requesting is that you supply it like this in the core releases :-)
Re: Newsletter - default Subscribe
Posted: Mon Sep 13, 2010 11:51 pm
by i2Paq
Please be aware that this could be an illegal action on your behalf in your country (and others).
Re: Newsletter - default Subscribe
Posted: Tue Sep 14, 2010 2:19 am
by OC2PS
No, it couldn't.
Germany has the most stringent laws in this regard and this can not be illegal in Germany so am pretty sure it can't be anywhere else.
If you audit permissions by opt-out i.e. include everyone unless they say NO (i.e. ask you to remove them) in a mailing list etc, THAT is illegal. In other words, if you were to remove the checkbox and have everybody "opted in" by default, giving them the option only to log into their account details to opt out, that would be illegal.
The important distinction is providing the users the option BEFORE the action. By having the checkbox ticked, but allowing the users to change it, you are still auditing permissions via opt-in, and that is legal in all the countries with whose laws I am familiar with/ have received legal advice on (UK, US, DE, GR, NL, CZ, IN, AT)
Re: Newsletter - default Subscribe
Posted: Tue Sep 14, 2010 2:55 am
by i2Paq
To what I know is that after saying Yes during checkout you still have to ask them in an separate e-mail if they do want to receive your e-mails.
Re: Newsletter - default Subscribe
Posted: Tue Sep 14, 2010 3:27 am
by Qphoria
The point is that it COULD be illegal in "some" country. That is why it is set to no by default and the mod is there for you
Re: Newsletter - default Subscribe
Posted: Tue Sep 21, 2010 8:56 pm
by OC2PS
Ok, point taken.
So how about a little checkbox in admin for this? (similar to postcode required)
Re: Newsletter - default Subscribe
Posted: Fri Oct 21, 2011 11:52 pm
by adwords expert
How to make newsletter default option to YES ?
Re: Newsletter - default Subscribe
Posted: Wed Dec 14, 2011 12:44 pm
by haydent
How to make newsletter default option to YES ?
edit catalog/view/theme/adx/template/account/register.tpl line 133 (Version 1.5.1.3)
From:
Code: Select all
<td><?php if ($newsletter == 1) { ?>
To:
Code: Select all
<td><?php if ($newsletter == 1 || $newsletter == '') { ?>

Re: Newsletter - default Subscribe Version 1.5.1.3
Posted: Sun Jan 08, 2012 8:51 am
by skitom
Using Version 1.5.1.3 what is the final answer to getting the default subscribe to news letter check box working? i have tried
From:
Code: Select all
<td><?php if ($newsletter == 1) { ?>
To:
Code: Select all
<td><?php if ($newsletter == 1 || $newsletter == '') { ?>
however this seems to have no luck?
Re: Newsletter - default Subscribe
Posted: Sun Jan 08, 2012 10:00 am
by skitom
This fixed it for version 1.5.1.3
by uksitebuilder ยป Tue Dec 06, 2011 9:59 am
edit: catalog/view/theme/default/template/account/register.tpl
find
Code: Select all
<td><?php if ($newsletter == 1) { ?>
<input type="radio" name="newsletter" value="1" checked="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="checked" />
<?php echo $text_no; ?>
<?php } ?></td>
change to
Code: Select all
<td><?php if ($newsletter == 0) { ?>
<input type="radio" name="newsletter" value="1" />
<?php echo $text_yes; ?>
<input type="radio" name="newsletter" value="0" checked="checked" />
<?php echo $text_no; ?>
<?php } else { ?>
<input type="radio" name="newsletter" value="1" checked="checked" />
<?php echo $text_yes; ?>
<input type="radio" name="newsletter" value="0" />
<?php echo $text_no; ?>
<?php } ?></td>
edit: catalog/view/theme/default/template/checkout/register.tpl
find
Code: Select all
<input type="checkbox" name="newsletter" value="1" id="newsletter" />
change to
Code: Select all
<input type="checkbox" name="newsletter" value="1" id="newsletter" checked="checked" />
Re: Newsletter - default Subscribe
Posted: Sun Jan 15, 2012 3:31 am
by tophat
Great. Worked. Thanks.
Re: Newsletter - default Subscribe Version 1.5.1.3
Posted: Tue Jan 17, 2012 11:22 pm
by Demon5
skitom wrote:Using Version 1.5.1.3 what is the final answer to getting the default subscribe to news letter check box working? i have tried
From:
Code: Select all
<td><?php if ($newsletter == 1) { ?>
To:
Code: Select all
<td><?php if ($newsletter == 1 || $newsletter == '') { ?>
however this seems to have no luck?
After newsletter == it is NOT a " it is ' '
Re: Newsletter - default Subscribe
Posted: Tue Jun 05, 2012 1:13 pm
by nayefy
Hi,
For version 1.5.2.1 can i know the changes to make the newsletter radio on by default.
Thanks
Re: Newsletter - default Subscribe
Posted: Tue Jun 05, 2012 1:16 pm
by OC2PS
Re: Newsletter - default Subscribe
Posted: Wed Jun 06, 2012 5:03 pm
by nayefy
Thank you

Re: Newsletter - default Subscribe
Posted: Tue Jun 19, 2012 11:28 am
by candlebark
Where do I find
"catalog/view/theme/default/template/account/register.tpl" to edit the code?
At the moment I am only making changes through the template (
www.website.com/admin) not through the code but would like to make this change to enable to newsletter as default. Is this possible? Is anyone able to give me more detailed information?
Re: Newsletter - default Subscribe
Posted: Fri Aug 10, 2012 7:49 pm
by rofus
I had the same need and I developed a quick free VQMOD to work with my Sellegance-derived custom theme and also for the default theme OC 1.5.3.1
http://www.opencart.com/index.php?route ... on_id=7681
R
Re: Newsletter - default Subscribe
Posted: Wed Nov 26, 2014 7:15 pm
by cypee
Hi, Im using version 2.0
So the code is difference, may i know how to replace it to YES?
Thanks