public function __construct() { parent::__construct(); if (!Mage::helper('customoptions')->isEnabled()) { return $this; } $this->setTemplate('customoptions/catalog-product-edit-options-option.phtml'); }
public function getPriceValue($value, $type) { if (is_null($value) || $value === '') { $value = 0; } return parent::getPriceValue($value, $type); }
public function __construct() { parent::__construct(); $this->setTemplate('customoptions/catalog-product-edit-options-option.phtml'); }