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?