Craft Web Design + Development
Brendan McKeown

Hey there. I’m a front-end developer and web designer. I'm all about creating websites and web apps that look and perform flawlessly on any device using HTML, CSS, and Javascript. I enjoy utilizing libraries, frameworks and preprocessors that improve efficiency and reduce confusion.

Check out my resume.

Override an Enterprise Controller

When overriding a controller that itself is overriding another controller, the actual override in your module’s config.xml is done slightly differently from most documentation, or at least is not made exactly clear. For this example, we are overriding the Enterprise_Wishlist controller, which itself is overriding the Mage_Wishlist controller.

<config>
    <!-- ... -->
    <frontend>
        <routers>
            <wishlist><!-- this needs to be the "grandparent" module, not the direct parent - enterprise_wishlist -->
                <args>
                    <modules>
                        <package_module before="Enterprise_Wishlist">Package_Module</package_module>
                    </modules>
                </args>
            </wishlist>
        </routers>
    </frontend>
</config>