Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Magento Stack Exchange is a question and answer site for users of the Magento e-Commerce platform. It only takes a minute to sign up.
I am using magento 1.9 and want to insert cookie restriction notice block on my page
then try to render it in my homepage.phtml
but got nothing
and this static block(cookie restriction notice block) is enabled
Instead of using getChildChildHtml('cookies.notice')
We are usinggetChildChildHtml when we want to get 2nd level of child block
For getting first level of child block we are using getChildHtml method
Try getChildHtml rather than getChildChildHtml.
Also use block_id rather than id:
Required, but never shown