Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

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