Example #1
0
 public function render(Varien_Object $row)
 {
     if ($row->getTypeID() == "bundle" || $row->getTypeID() == "grouped") {
         $data = $row->getData($this->getColumn()->getIndex());
         return $data > 0 ? round($data) . "%" : NULL;
     } else {
         return parent::render($row);
     }
 }