What kinda script are you referring to?
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
Thank you for replying. I want to add the following js script:
<script id="CookieDeclaration" src="https://consent.cookiebot.com/3c68fbe1- ... 0670/cd.js" type="text/javascript" async></script>
<script id="CookieDeclaration" src="https://consent.cookiebot.com/3c68fbe1- ... 0670/cd.js" type="text/javascript" async></script>
I have already done that.
What I want is to add the cookie declaration text which is the script that enables users to withdraw and modify their consent. I want to add it to a dedicated page in opencart so I creation a Cookie Policy information page. We cannot add scripts to the information pages via the editor so how can I go about doing that?
Thank you
What I want is to add the cookie declaration text which is the script that enables users to withdraw and modify their consent. I want to add it to a dedicated page in opencart so I creation a Cookie Policy information page. We cannot add scripts to the information pages via the editor so how can I go about doing that?
Thank you
OC version. Instead of a dedicated page, I would suggest the use of a modal version as an extension that can be downloaded from the Marketplace which handles GDPR or CCPA (still on-hold for CCRA).VP-GREECE wrote: ↑Thu Jul 22, 2021 4:24 pmI have already done that.
What I want is to add the cookie declaration text which is the script that enables users to withdraw and modify their consent. I want to add it to a dedicated page in opencart so I creation a Cookie Policy information page. We cannot add scripts to the information pages via the editor so how can I go about doing that?
Thank you
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
I really wouldn't bother with that EU rubbish.
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Thank you for your suggestion. Most of the good quality modules are not free of charge so I would really like to add this cookiebot declaration to a dedicated page (information page if possible). Is it something overly complicated?straightlight wrote: ↑Thu Jul 22, 2021 5:27 pmOC version. Instead of a dedicated page, I would suggest the use of a modal version as an extension that can be downloaded from the Marketplace which handles GDPR or CCPA (still on-hold for CCRA).VP-GREECE wrote: ↑Thu Jul 22, 2021 4:24 pmI have already done that.
What I want is to add the cookie declaration text which is the script that enables users to withdraw and modify their consent. I want to add it to a dedicated page in opencart so I creation a Cookie Policy information page. We cannot add scripts to the information pages via the editor so how can I go about doing that?
Thank you
If you are looking for free solutions, then Google search would be your best friend. Otherwise, you'd need to create a new service request in the Commercial Support section of the forum to get this done as a custom job.VP-GREECE wrote: ↑Thu Jul 22, 2021 7:38 pmThank you for your suggestion. Most of the good quality modules are not free of charge so I would really like to add this cookiebot declaration to a dedicated page (information page if possible). Is it something overly complicated?straightlight wrote: ↑Thu Jul 22, 2021 5:27 pmOC version. Instead of a dedicated page, I would suggest the use of a modal version as an extension that can be downloaded from the Marketplace which handles GDPR or CCPA (still on-hold for CCRA).VP-GREECE wrote: ↑Thu Jul 22, 2021 4:24 pmI have already done that.
What I want is to add the cookie declaration text which is the script that enables users to withdraw and modify their consent. I want to add it to a dedicated page in opencart so I creation a Cookie Policy information page. We cannot add scripts to the information pages via the editor so how can I go about doing that?
Thank you
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
If your script doesn't need to be in the head. You can add scripts to the information pages in the Description box editor. Click on the code view </> button. Add your script. Now switch off the code view by clicking the </> button again. This is because of a bug, where saving in code view will not work. Also, due to another bug the script will execute in the admin when switching off code view. So only enter trusted scripts here. Once back in normal view, save.
There are some free cookie related extensions on the marketplace, check this link https://www.opencart.com/index.php?rout ... rch=cookie.
Get a secure, fast, and reliable web hosting service from https://turnuphosting.com.
If switching out of code view to save causes problems, due to the script running, there is a workaround so you can save without switching out of code view.ADD Creative wrote: ↑Fri Jul 23, 2021 8:07 amIf your script doesn't need to be in the head. You can add scripts to the information pages in the Description box editor. Click on the code view </> button. Add your script. Now switch off the code view by clicking the </> button again. This is because of a bug, where saving in code view will not work. Also, due to another bug the script will execute in the admin when switching off code view. So only enter trusted scripts here. Once back in normal view, save.
viewtopic.php?f=201&t=213287#p763240
But it won't stop the script being run next time you edit that page.
Now that the issue has been solved, please add: [SOLVED] at the beginning of the subject line on your first post.
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: David081988wise, Semrush [Bot] and 107 guests