Sometimes, you’ve got a situation where you want to have a globally available static function. Most often this occurs (for..
IN TEMPLATE FILES $this->getRequest() can be used in template (phtml) files. Here is the code: /** * get Controller name */..
Sometimes you need to give ability for limiting access to a particular Magento Admin page and sometimes your customization goes..
Here’s a bit of code I used while developing a custom module for a client’s shop. The module allows a..