I want to override checkout/onpepage/payment.phtml in my custom module? In my module layout.xml i had used the code give below -:
<checkout_onepage_index>
<reference name="payment">
<action method="setTemplate">
<template>giftcard/checkout/onepage/payment.phtml</template>
</action>
</reference>
</checkout_onepage_index>
But payment.phtml file is not override in my custom module.
I had cleared the browser cache and magento cache.
use checkout.onepage.payment as reference instead of payment this will help you