I'm trying to rename some of the credit cards which appear on my Magento checkout (e.g. "Visa" becomes "Visa Debit/Credit").
To do this, I discovered you must edit the names as defined in /app/code/core/Mage/Payment/etc/config.xml
.
Not wanting to overwrite core files, I tried copying this file to /app/code/local/Mage/Payment/etc/config.xml
and making my changes there, but it didn't work. From research, I gather than Magento doesn't autoload config files from local folders first?
I then discovered that you could change app/etc/modules/Mage_All.xml
and specify <codePool>local</codePool>
instead of <codePool>core</codePool>
under <Mage_Payment>
. My changes made under the local folder would then work.
Is this the correct approach? Will changing the codePool
of a core module have any repercussions? Is there some other way to "override" a core module's config.xml
?