Пример #1
0
 protected function _toHtml()
 {
     //	echo $current_id = $order->getRealOrderId(); // #1001-2
     //  $previous_id = $order->getRelationParentRealId(); // #1001-1
     //  $older_id = $order->getOriginalIncrementId(); // #1001
     if (Mage::helper('fieldsmanager')->getStoredDatafor('enable')) {
         $this->setTemplate("fieldsmanager/order/create/account.phtml");
     }
     return parent::_toHtml();
 }
 protected function _toHtml()
 {
     $html = parent::_toHtml();
     $fBlock = $this->getLayout()->createBlock('aitcheckoutfields/ordercreate_form')->toHtml();
     return $html . $fBlock;
 }
Пример #3
0
 protected function _toHtml()
 {
     $html = parent::_toHtml();
     $attributes = Mage::app()->getLayout()->createBlock('amorderattr/adminhtml_order_create_form_attributes');
     return $html . $attributes->toHtml();
 }