public function _toHtml() { $html = parent::_toHtml(); $comment = $this->getOpcheckoutOrderCommentHtml(); $deliverDate = $this->getDeliveryDateHtml(); if (Mage::getStoreConfig('opcheckout/order/opcheckout_order_comment') == 1) { return $html . $comment . $deliverDate; } return $html . $deliverDate; }
/** * get html value function */ public function _toHtml() { $html = parent::_toHtml(); $comment = $this->getCommentHtml(); return $html . $comment; }