Post by derekz87 » Mon Apr 02, 2012 3:27 am

Hi there, im on 1.5.2.1 using Gentle theme.

I am trying to get the newsletter to have "yes" as default.

I have read the following threads but i can only get it to work halfway through.
http://forum.opencart.com/viewtopic.php?t=19966

My newsletter is "Yes" on default upon signing up, however whenever there's an error in the other forms, it goes back to "No".

What should i do to make it on "Yes" all the time even after errors filling up the registration form?

Cheers
Derek
Last edited by derekz87 on Mon Apr 02, 2012 11:58 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Apr 02, 2012 3:19 am

Post by straightlight » Mon Apr 02, 2012 4:52 am

In catalog/controller/account/register.php file,

find:

Code: Select all

$this->data['newsletter'] = '';
replace with:

Code: Select all

$this->data['newsletter'] = 1;

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by derekz87 » Mon Apr 02, 2012 12:15 pm

straightlight wrote:In catalog/controller/account/register.php file,

find:

Code: Select all

$this->data['newsletter'] = '';
replace with:

Code: Select all

$this->data['newsletter'] = 1;
Thanks! That works. How about say, a customer checkouts without registering and had to register upon checkout. I notice this doesnt change that(I wish to subscribe to the ... newsletter. ) to YES on default.

Thank you very much!

Newbie

Posts

Joined
Mon Apr 02, 2012 3:19 am

Post by straightlight » Mon Apr 02, 2012 8:25 pm

Good point. This feature doesn't seem to be included even in OC v1.5.2.1. It should perhaps be an option from the admin.

In catalog/view/theme/<your_theme>/template/checkout/register.tpl file,

find:

Code: Select all

<input type="checkbox" name="newsletter" value="1" id="newsletter" />
replace with:

Code: Select all

<input type="checkbox" name="newsletter" value="1" id="newsletter" checked="checked" />

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by derekz87 » Mon Apr 02, 2012 11:52 pm

straightlight wrote:Good point. This feature doesn't seem to be included even in OC v1.5.2.1. It should perhaps be an option from the admin.

In catalog/view/theme/<your_theme>/template/checkout/register.tpl file,

find:

Code: Select all

<input type="checkbox" name="newsletter" value="1" id="newsletter" />
replace with:

Code: Select all

<input type="checkbox" name="newsletter" value="1" id="newsletter" checked="checked" />
Marvellous! That worked handsomely. Have been trying to find out this and finally had to post it out on the forums. haha.

Thanks a million!

Newbie

Posts

Joined
Mon Apr 02, 2012 3:19 am

Post by rofus » Fri Aug 10, 2012 7:44 pm

For anyone reading this, I had the same need and I developed a quick free VQMOD to work with my Sellegance-derived custom theme and also the default theme coming with OC 1.5.3.1

http://www.opencart.com/index.php?route ... on_id=7681

R

New member

Posts

Joined
Wed Feb 09, 2011 10:28 pm

Post by Andaho » Fri Nov 08, 2013 2:40 am

straightlight wrote:Good point. This feature doesn't seem to be included even in OC v1.5.2.1. It should perhaps be an option from the admin.
I don't think it should even be an option... What online shop would not want to encourage users to sign up to a newsletter?...

Even if there is a scenario where it would be better for customers not to sign up to the newsletter - they would be in the minority.

It should be selected as default, with the option for customers to opt out... Not the other way around.

New member

Posts

Joined
Wed Jul 10, 2013 4:15 am

Post by OSWorX » Fri Nov 08, 2013 2:50 am

Andaho wrote:
straightlight wrote:Good point. This feature doesn't seem to be included even in OC v1.5.2.1. It should perhaps be an option from the admin.
I don't think it should even be an option... What online shop would not want to encourage users to sign up to a newsletter?...

It should be selected as default, with the option for customers to opt out... Not the other way around.
Sorry - completely stupid AND dangerous answer!!
Why?
For everybody who is reading this thread and his shop is located inside the EU (European Community) it is forbidden by law to have this setting ON by default!

Here in Europe everyone has to accept active by clicking on a checkbox such option.
And - each subscriber has to confirm that he has subscribed to a newsletter >> this is called a 'Double Opt-In'.

Every shopowner here in the EU can be punished (up to 10.000,- Euro) if he is doing as you are suggesting.

Why we all have to do so?
To avoid spam.

So - please - do not write such stupid things.
thx!

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Andaho » Fri Nov 08, 2013 3:08 am

Hmm, I do apologise, I wasn't aware of this law! And of course ignorance is no defence!

But... I've spent the last 10 minutes googling it, and can't find anything confirming this?

I did find this site: http://www.lsoft.com/resources/optinlaws.asp#1

It says: "Exceptions: A business relationship in which contact information was obtained constitutes prior consent as long as a means to opt out was provided at the same time and continues to be provided with each such message and each message is about similar products or services by the same company."

That implies that opt-out is fine for a typical newsletter? - I know of many sites in the UK that still use opt out? - They're all breaking the law?...

The first one I think of is ebuyer.com (it's the USA equivalent of NewEgg in the UK)... When you create an account with them (which I just did to test), they don't even give an option to opt out... It's just part of their TOS that you are automatically signed up to their newsletter, which of course you can easily un-subscribe from at anytime.

ebuyer is breaking the law?

UPDATE: I just tested another... Amazon.co.uk do exactly the same... not even an opt-out option... you're automatically signed up.

Is this an EU law that the UK have opted out of?

New member

Posts

Joined
Wed Jul 10, 2013 4:15 am

Post by Andaho » Fri Nov 08, 2013 3:24 am

I found this on the Information Commissioner's Office website:
From 11 December 2003, the Privacy and Electronic Communications (EC
Directive) Regulations 2003 became law and two new rules came into force
regarding email marketing.

1st Rule

• when they send marketing emails to you, the sender must not conceal
their identity; and
• they must give you a valid address for opt-out requests

This rule actually applies to all marketing messages sent by electronic mail
(see ‘electronic mail’ below), regardless of who the recipient is.

2nd Rule

• Senders cannot send such messages unless they have your prior
consent to do so.

This strict ‘opt-in’ rule is relaxed if three exemption criteria are satisfied.
These are:

1. your email address was collected ‘in the course of a sale or
negotiations for a sale’;
2. the sender only sends promotional messages relating to their ‘similar
products and services’; and
3. when your address was collected, you were given the opportunity to opt
out (free of charge except for the cost of transmission) which you didn’t
take. The opportunity to opt-out must be given with every subsequent
message.
The full document is here: http://www.ico.org.uk/upload/documents/ ... les_~1.pdf

These appear to be the rules that Ebuyer and Amazon follow?

New member

Posts

Joined
Wed Jul 10, 2013 4:15 am

Post by OSWorX » Fri Nov 08, 2013 3:28 am

The UK is in many ways other than the rest of Europe ..

Fact is, that all members of the EU have to follow regulations made by the EU-Parliament.
One is the so called 'Cookie Law' - here is the UK one of the first in the EU who are following that regulation.

Another one - very important - is the so called 'Button Solution'.
That is especially for the German market where this have to be!
http://de.wikipedia.org/wiki/Button-L%C3%B6sung

And the next is the 'Double Opt-In' - just searched around and found at the 1st place this entry in the Wikipedia (unfortunetaly only in German but it will give you an assumption what it means):
http://de.wikipedia.org/wiki/Opt-in

But there are so many: http://goo.gl/WAmMR8
I am sure you will find also many in English.

At least - but not last - one also important for every webshop:

1. you have to declare from where you are (address)
2. who you are (name, company, etc.)
3. and when and where I can call you (by phone)

The fact of all is: the country from where the customer makes his order, is the country the law is valid.
That is the current law in Europe.

Means: when I am ordering from Austria in your shop in the UK, finally the laws of my country are valid if we have to fight (because of the warranty, DOA, etc.)

Operating a shop in the internet is a bit more than having a verndor's tray.
No anonymous shops where customers buy but never recieving their paid goods.

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Andaho » Fri Nov 08, 2013 3:43 am

hmmm, a google translate of those german wiki pages is hard to understand... But I just made an account on amazon.de, and I was NOT automatically signed up to the newsletter... But this is not the EU law, this is a German law?

An English article on the EU directive: http://en.wikipedia.org/wiki/Directive_ ... r_messages

It states:

"Two categories of emails (or communication in general) will also be excluded from the scope of the prohibition. The first is the exception for existing customer relationships and the second for marketing of similar products and services."

I just checked signing up to amazon.fr - Just like the UK site, you're automatically signed up to the newsletters.

So is it only Germany that have an exception of the double opt-in? - Everywhere else in the EU it's ok to market to existing customers with opt-out?

New member

Posts

Joined
Wed Jul 10, 2013 4:15 am

Post by OSWorX » Fri Nov 08, 2013 5:57 am

Andaho wrote:So is it only Germany that have an exception of the double opt-in? - Everywhere else in the EU it's ok to market to existing customers with opt-out?
Because it is very late today, for a quick answer without checking more: In Austria it is the same like in Germany: Double-Opt-In.

Can check for more and publish the links to the EC-regulations tomorrow if you want.

For tonight, here are a few:

http://www.lsoft.com/resources/optinlaws.asp (comparison USA <-> EU with further links to legal texts)
http://www.forbes.com/sites/timworstall ... od-enough/ (Article at Forbes)
http://www.ecircle.com/blog/de/2012/11/ ... ubleoptin/ (unfortunetaly in German > is Double-Opt-In required?)
http://www.internet4jurists.at/e-mail/oe1a.htm (Austria, also in German)

As summary of all above and conclusion: there are some court decisions which punished the 'Double-Opt-In' method.
It always depends what is combined and the purpose of the registration.
There is no general recommendation, but one is for sure: subscribing a customer automatically to whatever ( e.g. a newsletter) is strictly forbidden and prohibited.

Maybe those links and more self searching will point everyone into the right direction.
But a session with the laywer of your trust (better specialist for internet) is never wasting money.

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by Andaho » Fri Nov 08, 2013 6:21 am

Thanks OSWorX,

It's certainly an interesting subject, and I thank you for bringing it up, as I wasn't aware of it...

It's a subject that one could spend hours (if not days) researching...

But for me, I'm only shipping inside the UK, and from what I've read I'm convinced it's ok to have opt-out for my customers - especially with so many others doing it (such as amazon and ebuyer).

I've no intention at all to spam my customers... I'm only wanting to send out an email of new products and special offers once a month.

Opt-out rather than opt-in obviously gets a wider audience and makes good business sense.

Image

^^ much nicer than amazon or ebuyer who automatically sign you up and only have it in their small print :P

As for EU regulations... Or German/Austrian regulations... I feel sorry for you :( - It's obvious these regulations are in place to prevent blatant spam... But they effect legitimate business in a negative way. - And the non-legitimate businesses don't care about the law lol... useless regulation... I won't be sad if the UK vote to leave the EU... But I just wish I could vote to make my house/property leave the UK and become my own independant nation :P

New member

Posts

Joined
Wed Jul 10, 2013 4:15 am

Post by straightlight » Sat Nov 09, 2013 4:59 am

OSWorX wrote:
Andaho wrote:
straightlight wrote:Good point. This feature doesn't seem to be included even in OC v1.5.2.1. It should perhaps be an option from the admin.
I don't think it should even be an option... What online shop would not want to encourage users to sign up to a newsletter?...

It should be selected as default, with the option for customers to opt out... Not the other way around.
Sorry - completely stupid AND dangerous answer!!
Why?
For everybody who is reading this thread and his shop is located inside the EU (European Community) it is forbidden by law to have this setting ON by default!

Here in Europe everyone has to accept active by clicking on a checkbox such option.
And - each subscriber has to confirm that he has subscribed to a newsletter >> this is called a 'Double Opt-In'.

Every shopowner here in the EU can be punished (up to 10.000,- Euro) if he is doing as you are suggesting.

Why we all have to do so?
To avoid spam.

So - please - do not write such stupid things.
thx!
You completely misunderstood what my post was about
. Please read it more than once before posting. My post was about adding an option as part of the stores by default so that merchants coukd define those values for their customers which could also be geographically on anyhow.

Again, before posting such rubish by pointing someone which you totally misunderstood his point of view, please review the post before creating disaster on a topic.

Thanks.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Opencart.com Administrator / Quality Assurance Analyst / Programmer


Legendary Member
Online

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by tommyla » Sun Aug 17, 2014 7:01 am

Andaho wrote:I found this on the Information Commissioner's Office website:
From 11 December 2003, the Privacy and Electronic Communications (EC
Directive) Regulations 2003 became law and two new rules came into force
regarding email marketing.

1st Rule

• when they send marketing emails to you, the sender must not conceal
their identity; and
• they must give you a valid address for opt-out requests

This rule actually applies to all marketing messages sent by electronic mail
(see ‘electronic mail’ below), regardless of who the recipient is.

2nd Rule

• Senders cannot send such messages unless they have your prior
consent to do so.

This strict ‘opt-in’ rule is relaxed if three exemption criteria are satisfied.
These are:

1. your email address was collected ‘in the course of a sale or
negotiations for a sale’;
2. the sender only sends promotional messages relating to their ‘similar
products and services’; and
3. when your address was collected, you were given the opportunity to opt
out (free of charge except for the cost of transmission) which you didn’t
take. The opportunity to opt-out must be given with every subsequent
message.
The full document is here: http://www.ico.org.uk/upload/documents/ ... les_~1.pdf

These appear to be the rules that Ebuyer and Amazon follow?
as far as i understand, it only in effect for additional boxes on products or services for sale, newsletter does not count
No more pre-ticked boxes. Currently consumers shopping online may end
up paying for services they don’t want (such as priority boarding on planes),
because they forget to un-tick boxes on websites. The new Consumer Rights
Directive introduces a clear ban on pre-ticked boxes on websites for charging
additional payments.
source with a little ore info on this new directive that came in effect this summer: http://ec.europa.eu/justice/consumer-ma ... ral_en.pdf

notice the "for charging additional payments" part

Active Member

Posts

Joined
Wed Jul 22, 2009 9:49 pm
Location - Norway

Post by sytra » Mon Aug 18, 2014 1:34 am

Yeah, you can have a pre ticked box for newsletter as long as you give the option to untick or select no, as has been mentioned the new rules are only for chargeable extras eg insurance etc.

Running OC 1.5.5.1 with vqmods.
http://www.aislings.co.uk
http://www.lovers-paradise-toys.co.uk


Active Member

Posts

Joined
Sat Feb 04, 2012 6:27 am

Post by OSWorX » Mon Aug 18, 2014 4:13 am

sytra wrote:Yeah, you can have a pre ticked box for newsletter as long as you give the option to untick or select no, as has been mentioned the new rules are only for chargeable extras eg insurance etc.
Not correct!

You are not allowed to preselect checkboxes where customers have to agree explicit to that option if your business is located in the EU.
And recieving newsletters are falling under that condition (as every side cost like insurance, delivery, etc.) because if the customer forget or oversee that checkbox and he is recieving newsletters from your shop, they count as spam.

The law about subscribing a newletter is very clear in this point: the customer HAS to accept the subscribing of any newsletter.
If the checkbox is already preselected, he did not checked it by himself.

Custom Development | Individuelle Entwicklung | Support & Bugfixes

Image Image Image


User avatar
Guru Member

Posts

Joined
Mon Jan 11, 2010 10:52 pm
Location - Austria

Post by sytra » Mon Aug 18, 2014 4:30 pm

Re posted below
Last edited by sytra on Mon Aug 18, 2014 4:58 pm, edited 1 time in total.

Running OC 1.5.5.1 with vqmods.
http://www.aislings.co.uk
http://www.lovers-paradise-toys.co.uk


Active Member

Posts

Joined
Sat Feb 04, 2012 6:27 am

Post by sytra » Mon Aug 18, 2014 4:56 pm

If you are in the UK you CAN still use a pre ticked checkbox for newsletters, I don't know about about the rest of Europe but for the UK you are ok.

If in any doubt it is in the following document, section I page 22

https://www.gov.uk/government/uploads/s ... idance.pdf

Running OC 1.5.5.1 with vqmods.
http://www.aislings.co.uk
http://www.lovers-paradise-toys.co.uk


Active Member

Posts

Joined
Sat Feb 04, 2012 6:27 am
Who is online

Users browsing this forum: No registered users and 42 guests