/** * Render block HTML * * @return string */ protected function _toHtml() { if ($this->getLastPageNum() > 1) { return parent::_toHtml(); } else { return ''; } }