I’m trying to load epayment.phtml
file in checkout/onepage
payment information section.
Page can’t loaded in checkout/onepage
payment information section.
this is my code.
app\design\frontend\coolbaby\default\template\checkout\onepage\payment\methods.phtml
<!-- load epatment page--> <?php echo $ this->getLayout()->createBlock('core/template')->setTemplate('epayment/index.phtml')->toHtml(); ?> <!-- load epatment page-->
Epayment.xml: app\design\frontend\coolbaby\default\layout\epayment.xml
<?xml version="1.0"?> <layout version="0.1.0"> <epayment_index_index> <reference name="root"> <action method="setTemplate"><template>page/1column.phtml</template></action> </reference> <reference name="content"> <block type="epayment/index" name="epayment_index" template="epayment/index.phtml"/> </reference> </epayment_index_index> </layout>