Jump to content

Capitalize a passed variable in email confirmation


Recommended Posts

Hi,

Can anyone show me the simplest way to capitalize a passed variable in the confirmation email?

I'm required to do this to add a payment method to my site. The name of the payment method is currently not being capitalized in the confirmation email, and I have been required to capitalize it.

I've found the relevant mail template in mails/en/order_conf.html, however the word I need to capitalize is encoded in a variable ('{payment}'). I have no idea how to alter the contents of the variable. 

Can anyone suggest an easy fix for this?

Regards,

 

Edited by Shiraz (see edit history)
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...