Prices in Email Templates Including TAX

Started by BRJP, August 24, 2014, 01:42:00 PM

BRJP

Dear Community,

I need automated emails sent to customers that contains a price that includes TAX - at the moment, the below template variable only include the non-TAX price.

Total Amount: {$service.total|price:$currency}
Billing Cycle: {$service.billingcycle}

Any idea what the variable is to include the all-in price?

If anyone also knows a reference point/wiki of ALL the usable email variables then that would also be helpful.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

Nicman

Hi BRJP,

We also use the variable {$invoice.total|price:$currency} at our email templates and HB shows them with tax included at emails.

Kind regards,

FullDISK

using subtotal doesn't resolve?

{$invoice.subtotal}

BRJP

Thank you FullDisk and Nicman,

Let me test and Ill let you know the results.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

BRJP

Right, apologies, I was not being clear.

When a new invoice is created then {$invoice.total|price:$currency} is fine.  My problem is not with invoice templates. 

My issue is when you send automated emails about a SERVICE once its been setup.  (For example, a welcome email for CPANEL clients or PLESK clients contain all information about their service including monthly costs).  In these emails you cannot use 'invoice' variable as its about the 'service'.  I can use {$service.total|price:$currency} but this does not include the TAX.

In these emails, what variable can you use to include the all-in service price?

I hope this makes sense - please shout if it does not.
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/

FullDISK


BRJP

Sadly not - when I use that variable the output in the email is:

Total Amount: £0.00 GBP  <----- This should have been £5.99
Kind regards,
Bradley Porter
--------------------
Find out more about SaneChoice Services at: https://www.sanechoice.cloud/