我想重写我的自定义模块中的checkout/onpepage/payment.phtml?在我的模块layout.xml我已经使用的代码在下面 - :如何覆盖magento自定义模块中的.phtml文件?
<checkout_onepage_index>
<reference name="payment">
<action method="setTemplate">
<template>giftcard/checkout/onepage/payment.phtml</template>
</action>
</reference>
</checkout_onepage_index>
但payment.phtml文件没有在我的自定义模块覆盖。
我已经通过下面的链接和更多的教程,但没有找到确切的解决方案。
http://blog.chapagain.com.np/magento-overriding-template-file-from-custom-module/ http://www.magentocommerce.com/boards/viewthread/262202/#t352074 Magento Extension Needs to Override a Template
我已经清除浏览器缓存和Magento的缓存。