This commit is contained in:
O K
2025-10-30 13:00:37 +02:00
parent 7fd9256751
commit 396766622e
4 changed files with 17 additions and 6 deletions

1
cookieconsent.css Normal file

File diff suppressed because one or more lines are too long

7
cookieconsent.umd.js Normal file

File diff suppressed because one or more lines are too long

View File

@@ -1,4 +1,5 @@
<?php
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
@@ -31,7 +32,7 @@ if (!defined('_PS_VERSION_')) {
class cookiesconsent extends Module
{
public function __construct()
{
@@ -67,6 +68,4 @@ class cookiesconsent extends Module
{
return $this->display(__FILE__, 'footer.tpl');
}
}
}

View File

@@ -1,3 +1,7 @@
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.css" type="text/css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/orestbida/cookieconsent@3.1.0/dist/cookieconsent.umd.js" async></script>
<link rel="stylesheet" href="/modules/cookiesconsent/cookieconsent.css" type="text/css">
<script type="text/javascript" src="/modules/cookiesconsent/cookieconsent.umd.js" async></script>
<script type="module" src="/modules/cookiesconsent/cookieconsent-config.js"></script>
<hr>
<p class="text-center"> <a type="button" class="btn btn-secondary" data-cc="show-preferencesModal">
{l s='Cookie preferences' d='Modules.Cookiesconsent.Shop'}
</a> </p>