$order_object = Mage::getModel(‘sales/order‘)->load("order_id");
注:order_id 是订单号后面的数字;
$res[‘points_spend‘]=Mage::helper(‘rewards‘)->getPointsString($order_object->getTotalSpentPoints());
magento sweet积分插件 获得订单消耗的积分,布布扣,bubuko.com
原文地址:http://www.cnblogs.com/echofrank/p/3868283.html