magento 1.8 在管理面板中添加 cookie 同意的位置

magento 1.8 where to add cookie consent in admin panel

我有一个 cookie 同意弹出窗口。

我已经放在System->Config->Design->Footer->HTMlsection->

但我尝试清除所有 cookie 和会话,也清除了 magento 缓存, 但是弹窗没有出现。

如果我需要弹出窗口出现在所有页脚部分,它是否适合保留。

<link rel="stylesheet" type="text/css" 

href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.css" />
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.0.3/cookieconsent.min.js"></script>
<script>
window.addEventListener("load", function(){
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#ffffff"
},
"button": {
"background": "transparent",
"text": "#dea724",
"border": "#dea724"
}
},
"position": "bottom-right",
"content": {
"dismiss": "Okay",
"href": "<your link>"
}
})});
</script>

好的,我发现必须在管理员端启用 cookie。

To Allow Cookie restriction mode: System-> Configuration->Web-> Session and cookie mgt-> Select Yes for "Cookie Restriction Mode"

然后 cookie 弹出窗口出现在页面底部。