You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Aditya Sharma (JIRA)" <ji...@apache.org> on 2019/06/05 11:23:00 UTC

[jira] [Commented] (OFBIZ-10639) Cookie Consent In E-Commerce

    [ https://issues.apache.org/jira/browse/OFBIZ-10639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16856606#comment-16856606 ] 

Aditya Sharma commented on OFBIZ-10639:
---------------------------------------

Thanks for your patch [~deepak.nigam] :)

Few inputs from my side:

I think instead of *$* we should use *jQuery* in init.js as $ is commonly used alias by JavaScript libraries and may cause conflicts further. See [https://stackoverflow.com/questions/1058463/what-is-jquerydocument-vs-document].

Name of the custom file *init.js* seems confusing, I think either we should name it closer to ihavecookies if we intend to use it for only this purpose (for example initIHaveCookies.js or some other good name) or else we can start using the same file for all the custom code in ecommerce plugin (as I can't find a file for custom code specific to ecommerce plugin yet please correct me if I missed on that). I am more inclined to using it futher for all the new custom code with the same name.

We need to add license headers to new file.

> Cookie Consent In E-Commerce
> ----------------------------
>
>                 Key: OFBIZ-10639
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10639
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: ecommerce
>    Affects Versions: Trunk
>            Reporter: Deepak Nigam
>            Assignee: Swapnil M Mane
>            Priority: Minor
>         Attachments: OFBIZ-10639.patch
>
>
> As per discussion on Dev ML [https://markmail.org/message/rcatehtckz6vlvuv] 
> The Cookie Law is a piece of privacy legislation that requires websites to get consent from visitors to store or retrieve any information on their computer, smartphone or tablet. It was designed to protect online privacy, by making consumers aware of how information about them is collected and used online, and give them a choice to allow it or not. 
>   
>  The EU Cookie Legislation began as a directive from the European Union. Some variation on the policy has since been adopted by all countries within the EU.
>   
>  The EU Cookie Legislation requires 4 actions from website owners who use cookies:
>  1. When someone visits your website, you need to let them know that your site uses cookies. 
>  2. You need to provide detailed information regarding how that cookie data will be utilized. 
>  3. You need to provide visitors with some means of accepting or refusing the use of cookies in your site. 
>  4. If they refuse, you need to ensure that cookies will not be placed on their machine.
>  
>  For more information about EU cookie policy, please visit [here|http://ec.europa.eu/ipg/basics/legal/cookies/index_en.htm].
>   
>  As this crucial feature is missing in OFBiz E-Commerce application, we should work towards its implementation. There are numerous open-source jQuery plugins available which we can use.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)