cancel
Showing results for 
Search instead for 
Did you mean: 

cookie_restriction_notice_block missing

SOLVED

cookie_restriction_notice_block missing

Hello,

 

i have no cookie_restriction_notice_block
how can i add this, so i can modifed the cookiebar?

 

Thanks
Dennis

10 REPLIES

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.

 

 

cookie.pngYou can see frontend cookie content from Cookie Module.

https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Cookie/view/frontend/templates...

 

 

If Issue Solved, Click Kudos/Accept As solutions.

Re: cookie_restriction_notice_block missing

The block is missing in the backend.
Frontend is working.

Thanks

Re: cookie_restriction_notice_block missing

By default cookie restriction block is not display in backend Its only used for frontend.

 

Thanks.

If Issue Solved, Click Kudos/Accept As solutions.

Re: cookie_restriction_notice_block missing

I’m talking about the conten block for changing the links.

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,

https://github.com/magento/magento2/blob/2.2-develop/app/code/Magento/Cookie/view/frontend/templates...

If Issue Solved, Click Kudos/Accept As solutions.

Re: cookie_restriction_notice_block missing

I see, i saw many descriptions where they said it’s a cms block.
So I thought it’s because of my template.

Thanks

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.

If Issue Solved, Click Kudos/Accept As solutions.

Re: cookie_restriction_notice_block missing

Hello,

i dont have a folder Magento in app code
using 2.2.4

Re: cookie_restriction_notice_block missing

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.

If Issue Solved, Click Kudos/Accept As solutions.