I am trying to change the template(view.phtml) of a block (product.info
) for product detail page, to do this, I am observing an event (controller_action_l
Why on earth are you doing it this way?
It would be better to use either the local.xml layout file or a layout file declared for a custom module to do this:
customelayout/product/view.phtml
FYI when a block name is
ed, no block with that name will be instantiated for any rendering scope which includes that remove directive.