Reputation: 169
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.
Upvotes: 1
Views: 4450
Reputation: 54
use checkout.onepage.payment as reference instead of payment this will help you
Upvotes: 0
Reputation: 11
Please also override it's .phtml file with the help of "block" tag in app/code/design/THEME/layout/checkout.xml. I have do this thing for one time. it works for me. i hope it will also work for u......
Upvotes: 0