Skip to content

Instantly share code, notes, and snippets.

@0-Sony
Last active July 5, 2018 09:24
Show Gist options
  • Save 0-Sony/7d2f68a311cc7bb05e76 to your computer and use it in GitHub Desktop.
Save 0-Sony/7d2f68a311cc7bb05e76 to your computer and use it in GitHub Desktop.
Override Magento Controllers
<!-- file config.xml -->
<config>
<modules>
<Namespace_Module>
<version>0.1.0</version>
</Namespace_Module>
</modules>
<frontend>
<routers>
<tag> <!-- tag can be for example : catalog,checkout,etc -->
<args>
<modules>
<Namespace_Module before="Mage_MageModuleToOverride">Namespace_Module</Namespace_Module>
</modules>
</args>
</tag>
</routers>
</frontend>
</config>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment