- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate 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.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
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.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
Frontend is working.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
By default cookie restriction block is not display in backend Its only used for frontend.
Thanks.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
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,
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
So I thought it’s because of my template.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
Cookie restriction block notice comes from phtml file. So please check that phtml file and verify with your content.
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: cookie_restriction_notice_block missing
i dont have a folder Magento in app code
using 2.2.4
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate 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.
Magento 2 Blogs/Tutorial