Hello,
i have no cookie_restriction_notice_block
how can i add this, so i can modifed the cookiebar?
Thanks
Dennis
Solved! Go to Solution.
I have given path for Magento 2 Github repo.
In actual installation in your localhost will be path at below location,
vendor/magento/module-cookie/view/frontend/templates/html/notices.phtml
Please check vendor folder from root instead of app/code folder in your system.
You can set cookie_Restriction_notice block by enable setting from backend panel.
Go To admin panel,
Stores -> Configuration -> General -> Default Cookie Settings -> Cookie Restriction Mode -> Yes
Save Configuration.
Clear cache and check in frontend you can see cookie restriction notice block in footer.
You can see frontend cookie content from Cookie Module.
By default cookie restriction block is not display in backend Its only used for frontend.
Thanks.
Cookie notice comes from phtml file not from static block so you need to go to phtml file inside Magento_Cookie module.
Full path of github is,
Cookie restriction block notice comes from phtml file. So please check that phtml file and verify with your content.
I have given path for Magento 2 Github repo.
In actual installation in your localhost will be path at below location,
vendor/magento/module-cookie/view/frontend/templates/html/notices.phtml
Please check vendor folder from root instead of app/code folder in your system.