Magento Forum

   
Payment module - Info Block
 
Weblibre
Member
 
Avatar
Total Posts:  49
Joined:  2008-06-10
Presidente Prudente, São Paulo, Brazil
 

Hi all,

I want add more payment information to “order view” page (sales/order/view).

The View class (app/code/core/Mage/Sales/Block/Order/View.php) gets payment´s Info Block: $this->helper(’payment’)->getInfoBlock($this->getOrder()->getPayment())

The info.phtml file calls getPaymentInfoHtml method: $this->getPaymentInfoHtml().

So how can I override the Info Block of my payment module?

Where should I implement the method called by getPaymentInfoHtml?

Thanks in advance,

Guilherme.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Weblibre
Member
 
Avatar
Total Posts:  49
Joined:  2008-06-10
Presidente Prudente, São Paulo, Brazil
 

Solved!

I just created a script called Block/Info.php.

Best regards,

Guilherme.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top