How to calculate currency according to reward points rate in Magento_PHP_编程开发_程序员俱乐部

中国优秀的程序员网站程序员频道CXYCLUB技术地图
热搜:
更多>>
 
您所在的位置: 程序员俱乐部 > 编程开发 > PHP > How to calculate currency according to reward points rate in Magento

How to calculate currency according to reward points rate in Magento

 2011/1/15 7:50:48  cgzhang  http://magentosh.javaeye.com  我要评论(0)
  • 摘要:$rate=Mage::getModel('enterprise_reward/reward_rate');$rate->fetch(1,Mage::app()->getStore()->getId(),Enterprise_Reward_Model_Reward_Rate::RATE_EXCHANGE_DIRECTION_TO_CURRENCY);echo$rate->calculateToCurrency(100);
  • 标签:Magento
$rate = Mage::getModel('enterprise_reward/reward_rate');
  			$rate->fetch(1, Mage::app()->getStore()->getId(),Enterprise_Reward_Model_Reward_Rate::RATE_EXCHANGE_DIRECTION_TO_CURRENCY);
  			echo $rate->calculateToCurrency(100);
发表评论
用户名: 匿名