X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Show $$ value for BCSE's Reward Points Mod (https://forum.x-cart.com/showthread.php?t=39976)

lizlee00 05-18-2009 12:32 PM

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?


All times are GMT -8. The time now is 06:05 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.