Public Member Functions | |
loadAttributeOptions () | |
loadOperatorOptions () | |
asHtml () |
Definition at line 28 of file Product.php.
asHtml | ( | ) |
Reimplemented from Mage_Rule_Model_Action_Abstract.
Definition at line 49 of file Product.php.
00050 { 00051 $html = $this->getTypeElement()->getHtml().Mage::helper('salesrule')->__("Update product's %s %s: %s", $this->getAttributeElement()->getHtml(), $this->getOperatorElement()->getHtml(), $this->getValueElement()->getHtml()); 00052 $html.= $this->getRemoveLinkHtml(); 00053 return $html; 00054 }
loadAttributeOptions | ( | ) |
Reimplemented from Mage_Rule_Model_Action_Abstract.
Definition at line 30 of file Product.php.
00031 { 00032 $this->setAttributeOption(array( 00033 'rule_price'=>Mage::helper('salesrule')->__('Special price'), 00034 )); 00035 return $this; 00036 }
loadOperatorOptions | ( | ) |
Reimplemented from Mage_Rule_Model_Action_Abstract.
Definition at line 38 of file Product.php.
00039 { 00040 $this->setOperatorOption(array( 00041 'to_fixed'=>Mage::helper('salesrule')->__('To Fixed Value'), 00042 'to_percent'=>Mage::helper('salesrule')->__('To Percentage'), 00043 'by_fixed'=>Mage::helper('salesrule')->__('By Fixed value'), 00044 'by_percent'=>Mage::helper('salesrule')->__('By Percentage'), 00045 )); 00046 return $this; 00047 }