I have added a custom payment module and i want to that module can override the methods.phtml that is currently present in app/design/frontend/base/default/checkout/onepage/payment/methods.phtml. how i can overirde that file ?
One of the wisest thing to do is to create your own path
ie app/design/frontend/[theme_name]/template/checkout/payment/methods.phtml
don't forget to override the existing block as well by following
http://inchoo.net/magento/overriding-magento-blocks-models-helpers-and-controllers/
as its safe if you write your own codes rather than editing core files.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.