*/ class Mage_XmlConnect_Block_Checkout_Payment_Method_Info_Purchaseorder extends Mage_Payment_Block_Info_Purchaseorder { /** * Add Purchase Order Payment info to order XML object * * @param Mage_XmlConnect_Model_Simplexml_Element $orderItemXmlObj * @return Mage_XmlConnect_Model_Simplexml_Element */ public function addPaymentInfoToXmlObj(Mage_XmlConnect_Model_Simplexml_Element $orderItemXmlObj) { $orderItemXmlObj->addAttribute('type', $this->getMethod()->getCode()); $orderItemXmlObj->addAttribute('title', $orderItemXmlObj->xmlAttribute($this->getMethod()->getTitle())); $orderItemXmlObj->addCustomChild('item', $this->getInfo()->getPoNumber(), array( 'label' => Mage::helper('sales')->__('Purchase Order Number:') )); } }