Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Show $$ value for BCSE's Reward Points Mod

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 09:10 PM.

   

 
X-Cart forums © 2001-2020