如何为adminhtml设置付款info.phtml ...
喜欢为前端设置...像这样的
class Ks_Gippayment_Block_Info extends Mage_Payment_Block_Info
{
protected function _construct()
{
parent::_construct();
$this->setTemplate('ks/info.phtml');
}
谢谢:D
答案 0 :(得分:1)
此代码也将为adminhtml完成工作。只需确保存在以下模板:
app/design/adminhtml/base/default/template/ks/info.phtml