Jump to content

{total_paid} without currency in email?


Roych

Recommended Posts

Hello,

Im trying to show some UPNQR code in customers order mail and I need to show the total price without currency in a format like 13.50 without €, $, ... etc.

QR code works, except the total price. If I put {total_paid} inside it shows 7.00 instead of 7.90. I guess because it thinks that space and Currency symbol are two decimals and it strips the whole "90" out. (just guessing here.)

 

Any idea how to proceed here.

I even tried to add new custom variable in PaymentModule.php but it does not work. (I'm not a coder).

'{total_paid_no_currency}' => Tools::displayPrice($order->total_paid, null, false),

 

And I would also like to add payers address, payers postal code and payers city. I trie with
{invoice_address1}, {invoice_city}' {invoice_postal_code} but nothing shows up Or I see the tags in my mail.


Any help greatly appreciated ;)
Roych

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...