Post by chasquad » Sun May 24, 2020 7:36 am

I actually had a customer complain that the email that they received by placing an order contained their IP address. They indicated that this is a violation of their privacy. Anyway ... I could comment about this forever ... but after much thought, I don't think that there is any value in displaying the IP address in their email. So, how easy is it to remove from that email when they place a new order?

Thanks!

Newbie

Posts

Joined
Tue Mar 19, 2019 4:26 am

Post by fegdeed » Sun May 24, 2020 8:07 am

Which Opencart version are you using?

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by chasquad » Sun May 24, 2020 10:46 pm

fegdeed wrote:
Sun May 24, 2020 8:07 am
Which Opencart version are you using?
3.0.3.1

Thanks!

Newbie

Posts

Joined
Tue Mar 19, 2019 4:26 am

Post by dansjigs » Mon May 25, 2020 12:45 am

FWIW... Does on 3.03.2 as well. Looking back at emails on test account and did so on 2.x version of OpenCart also. No complaints from customers though.

Newbie

Posts

Joined
Sat Jun 24, 2017 7:56 am

Post by fegdeed » Tue May 26, 2020 11:14 pm

Try this
go to catalog/view/theme/default/template/mail/order_add.twig, around line 33, find

Code: Select all

<b>{{ text_ip }}</b> {{ ip }}<br />
and delete

go to catalog/language/en-gb/mail/order_add.php, around line 15, find

Code: Select all

$_['text_ip']               = 'IP Address:';
and replace with

Code: Select all

// $_['text_ip']               = 'IP Address:';
Refresh both modifications and caches (theme and saas ).
Last edited by fegdeed on Wed May 27, 2020 1:09 am, edited 1 time in total.

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am

Post by OSWorX » Wed May 27, 2020 12:31 am

chasquad wrote:
Sun May 24, 2020 7:36 am
I actually had a customer complain that the email that they received by placing an order contained their IP address. They indicated that this is a violation of their privacy.
It IS a beach!
Read more about that in the GDPR : https://eur-lex.europa.eu/legal-content ... 79&from=DE

Recording IP-Addresses is part of a so called "private" data.
While I understand that IP-Addresses may sometimes needed (e.g. check fraudster etc.).
But storing them is not allowed.
What you can do is to store such in a "masked" form (e.g. 82.123.xxx.xxx)
Finally if stored it should not point to any customer (the theory).

And sending the IP-Address back to the customer is a "very" bad idea!
What for should this be good?

p.s.: instead of adding <!-- .. --> remove the complete line inside the template (because it will be though visible with them).

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 fegdeed » Wed May 27, 2020 1:09 am

Thanks @OSWorX, I have updated the info.

New member

Posts

Joined
Fri Sep 21, 2018 12:01 am
Who is online

Users browsing this forum: sw!tch and 25 guests