Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email

Magento Forum

Solved: Block-Caching Problem of ChildHtml in Catalog/Product/View.phtml
Jr. Member
Total Posts:  3
Joined:  2009-08-31


i have a Module in the Product View Template, which differences guests and logged in users.

In the view.phtml Template is this code:

<?php echo $this->getChildHtml('after-shop-right-box'false); ?>

in the module layout.xml is this code:

reference name="">
block type="productoffer/productoffer" name="productoffer" as="after-shop-right-box" template="productoffer/productoffer.phtml" />

but it is cached on the first state. If guest user visits the page first, logged in users get the guest info.
I thought the false parameter in the ChildHtml function is to disable caching a block, but here its not working.

Does anyone know why and how to solve it?

Thanks and Greetings,

Edit: Solved, Another developer added a Cache on Product View, after disabling this it works.

Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top