protected function _afterToHtml($html) { $html = parent::_afterToHtml($html); $html = $this->helper('amstockstatus')->processViewStockStatus($this->getProduct(), $html); return $html; }