setAttributeOption(array( 'rule_price'=>Mage::helper('salesrule')->__('Special Price'), )); return $this; } public function loadOperatorOptions() { $this->setOperatorOption(array( 'to_fixed'=>Mage::helper('salesrule')->__('To Fixed Value'), 'to_percent'=>Mage::helper('salesrule')->__('To Percentage'), 'by_fixed'=>Mage::helper('salesrule')->__('By Fixed value'), 'by_percent'=>Mage::helper('salesrule')->__('By Percentage'), )); return $this; } public function asHtml() { $html = $this->getTypeElement()->getHtml().Mage::helper('salesrule')->__("Update product's %s %s: %s", $this->getAttributeElement()->getHtml(), $this->getOperatorElement()->getHtml(), $this->getValueElement()->getHtml()); $html.= $this->getRemoveLinkHtml(); return $html; } }