Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Overriding Core Functions…
 
MunchyMonster
Member
 
Avatar
Total Posts:  71
Joined:  2008-02-05
New Hampshire, USA
 

I feel stupid for asking this, because I know someone will just point me to a wiki article that was written months ago or I will have made a really stupid mistake…

But I’m having trouble overriding the core checkout module. As a first step all I want to do is make an exact duplicate of the checkout module that does all the same stuff the checkout module currently does. But I want this beastie to live in app/code/local or app/code/community instead of app/code/core. Sounds simple enough. So I made a copy of the checkout module in my own “namespace” folder in the app/code/community folder, I changed all the magento namespaces to my namespace (being careful not to change the ones that I really do want to use the mage version of), and updated the system.xml and config files in the app/code/comunity/<namespace>/checkout/etc folder. Finally I changed the Mage_All.xml file in the app/etc folder to use my module instead of the mage module.

To test my changes I went to the admin/system/config and examined the sales sub item for checkout configuration. It isn’t there. If I toggle between my module and the default module I can see it when I use the default, but not when I use mine. If I use both I only get the default.

Any ideas what I missed?

-MunchyMonster

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top