TOTAL with VAT in status email

  • Posts: 218
  • Thank you received: 6
12 years 9 months ago #37643

I have overridden the language string
TOTAL_WITH_VAT="TOTAL with VAT : %s"

to show as

TOTAL_WITH_VAT="TOTAL with GST : %s"

but on the order status notification email it still says TOTAL with VAT.

I think it is this line:

$text=JText::sprintf('TOTAL_WITH_VAT',$currencyHelper->format($data->cart->full_total->prices[0]->price_value_with_tax,$data->order_currency_id));

is there a bug?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
12 years 9 months ago #37767

Language overrides don't work on emails. So either you modify directly the email and change 'TOTAL_WITH_VAT' by "TOTAL with GST : %s" or you modify the original translation file.

If you actually use the en-US language file, the "VAT" is replaced by "tax" in the language file.

The following user(s) said Thank You: woonydanny

Please Log in or Create an account to join the conversation.

Time to create page: 0.052 seconds
Powered by Kunena Forum