跳到正文
联系

BiscottiOnesti PrestaShop 版

类型:
PrestaShop 模块:Cookie 同意与 GDPR
版本:
1.0.0
日期:
2026-11-21
兼容:
PrestaShop 8.1+, 9.x · PHP 8.1+
许可证:
GPL-3.0-or-later
大小:
59,3 KB

SHA-256 8dbc2c29b6bf15f515239ddba30057ad1842800231354f599720fd54e42f266f

BISCOTTIONESTI PS版

BiscottiOnesti PrestaShop 版是 Joomla 扩展包的兄弟:它为网店管理 Cookie 同意,不用订阅,也不用为了请求加载第三方脚本的许可而先加载第三方脚本。它为一位客户的 PrestaShop 网店而生;这里是给所有人的版本,不带任何人的名字,也不带任何人的配色。

它能做什么

  • 服务器端预先拦截:在页面启动之前,凡是符合未接受类别规则的脚本或 iframe,都会被解除武装。不管是哪个模块插进来的都管用(Analytics、Google Ads、Meta、Mailchimp、地图、视频)。
  • Google Consent Mode v2:一开始全部拒绝,再按已保存的选择更新。已经做过选择的访客直接从服务器拿到正确的页面,不会闪烁。
  • 诚实的横幅:“全部接受”和“拒绝”同样醒目,“自定义”按类别设置,点 X 或按 Esc 都算拒绝,没有 Cookie 墙,也没有“滚动即同意”。内置意大利语、英语、法语、西班牙语和德语文字,可在后台修改。
  • 同意记录:IP 假名化,附统计和 CSV 导出。
  • 撤回同意:通过页脚的“Cookie 偏好设置”链接;被撤回类别的 Cookie 会被删除。
  • 视频和地图被拦截时,换成一个“接受并显示”的方框。

安装

  1. 下载 zip。
  2. 在后台:模块 > 模块管理器 > 上传模块,把 zip 拖进去。
  3. 打开配置:检查拦截规则,选择 Cookie 政策和隐私政策的 CMS 页面(模块会推荐它找到的页面),调整文字。
  4. 更新网店的 Cookie 政策,并去掉其他横幅(如果有)。

适用于 PrestaShop 8.1 和 9,PHP 8.1 或更高版本。不覆盖核心(override),也不改主题:横幅的颜色是 CSS 变量,主题可以重新定义。更新时上传新的 zip 即可。

许可证为 GPL v3 或更高版本。同意管理工具不能代替隐私顾问的意见:拦截规则和文字仍由网店管理者负责。

C:\BISCOTTI\CHANGELOG.TXTv1.0.0
  1. [2026-11-21] v1.0.0 ADD @silvano PRIVACY

    First public release: server-side prior blocking of third-party scripts and iframes (statistics, marketing, embedded content) until the visitor consents, whichever module added them.

  2. [2026-11-21] v1.0.0 ADD @silvano PRIVACY

    Google Consent Mode v2: everything denied when the page opens, updated with the saved choices.

  3. [2026-11-21] v1.0.0 ADD @silvano PRIVACY I18N

    Banner with equally prominent «Accept all» and «Reject», per-category choice, X and Esc = reject, no cookie wall; default texts in Italian, English, French, Spanish and German, editable in the back office.

  4. [2026-11-21] v1.0.0 ADD @silvano PRIVACY

    Consent log as proof (GDPR art. 7) with pseudonymised IP, statistics and CSV export in the back office.

  5. [2026-11-21] v1.0.0 ADD @silvano PRIVACY

    Revocation at any time from the «Cookie preferences» link or the floating button: cookies already set are deleted; a new policy version asks everyone again.

  6. [2026-11-21] v1.0.0 NOTE @silvano

    Born from a module written for an online shop and made generic.

C:\BISCOTTI> _