Magento – how do i override template phtml file in magento1.9

magento-1.9

I want to override (app/design/frontend/base/default/template/tax/checkout/grandtotal.phtml) this file as i have made some changes in grandtotal

Best Answer

It's not a good idea to copy the template to the rwd folder, since this is a default Magento folder. You need to override the rwd theme for that. The best way to do that is to use a theme.xml, where you can define a parent. The file should be located in app/design/frontend/[package]/[theme]/etc/theme.xml with the following code:

<?xml version="1.0"?>
<theme>
    <parent>rwd/default</parent>
</theme>

This makes your theme use rwd/default as it's parent.

Related Topic