Quotation for a modification

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeQuotation for a modification

This topic has been marked as not resolved.

We use Opencart 2.3.0.2 with Pavilion theme.
We need a solution for European Cookie Law Compliance
We decided to use a cloud service (www.cookiebot.com) that offer a comprehensive solution.
To deploy this solution in our Opencart we need:
1)Copy a snippet provided by cookiebot.com into catalog/view/theme/burnengine/template/common/header.tpl
We already did it and it works perfectly.
2)Apply the attribute “data-cookieconsent” to cookie-setting script tags on our website.
Set the comma-separated value to one or more of the cookie categories “preferences”, “statistics” and “marketing” in accordance with the types of cookies being set by each script.
Finally change the attribute “type” from “text/javascript” to “text/plain
We know which attribute to apply to each cookie. No problem.
We found the right file and also the right portion of code to modify , but we don’t know how to modify it. The cookies we have to modify are located in catalog/view/theme/BurnEngine/template/product/product.tpl inside the section “product share” and are set by social sharing buttons.
This is the portion of code to modify:

var loadGplus = function () {
(function(){var po=document.createElement(‘script’);po.type=’text/javascript’;po.async=true;po.src=’https://apis.google.com/js/platform.js’;var s=document.getElementsByTagName(‘script’)[0];s.parentNode.insertBefore(po,s);})();
};

We have not the skills to perform the task n°2 and add “data-cookieconsent”attribute.
I undestand that is not a bug fixing.
But I would appreciate if you could make a quotation for such a modification.

 naxom
January 5, 2018 at 10:27 pm #63066
Viewing 1 post
  • You must be logged in to reply to this topic.