获取马跟头中的优惠码规则描述rule_description:
//add coupon code rule description
$oCoupon = Mage::getModel('salesrule/coupon')->load($couponCode, 'code');
if ($oCoupon->getRuleId()) {
$oRule = Mage::getModel('salesrule/rule')->load($oCoupon->getRuleId());
$description = $oRule->getDescription();
if($description){
$couponCode_Description = '该优惠券应用于:'.$description;
}else{
$couponCode_Description = '';
}
}