Ansyori
Ansyori

Reputation: 2835

how to set payment info.phtml for adminhtml

how to set payment info.phtml for adminhtml ...

like set for the frontend...something like this

class Ks_Gippayment_Block_Info extends Mage_Payment_Block_Info
{


protected function _construct()
{
    parent::_construct();
    $this->setTemplate('ks/info.phtml');
}

thanks :D

Upvotes: 1

Views: 273

Answers (1)

Tim Bezhashvyly
Tim Bezhashvyly

Reputation: 9100

This code will also do the job for adminhtml. Just make sure the following template exists:

app/design/adminhtml/base/default/template/ks/info.phtml

Upvotes: 1

Related Questions