View Single Post
  #11  
Old 05-18-2009, 12:32 PM
 
lizlee00 lizlee00 is offline
 

Advanced Member
  
Join Date: Sep 2007
Posts: 56
 

Default Re: Show $$ value for BCSE's Reward Points Mod

Anyone know of a way to make this work in the order_invoice email? I believe the correct variable to show the total points is:
Code:
{$order.points_info.total_customer_points}
If I do the math code with this:
Code:
{math x=$order.points_info.total_customer_points y=$wcmPaymentRate equation="x / y" format="%.2f" assign="wcmPointsDollars"} {include file="currency.tpl" value=$wcmPointsDollars}
it works great on the order_invoice.tpl that displays in the browser, but is blank in the email. So I assume the email doesn't call auth.php or something? Anyone know of a way around this?
__________________
-Liz
Version 4.1.8
www.partssystems.com
Reply With Quote