1

I want to use below code in controller but not working.

$block = $this->getLayout()->getBlock('catalog.leftnav');

I used in phtml file here, it is working fine. but it is not working in controller.

Can any one help me on this issue.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.