MailbutlerM
Mailbutler
Nov 29

Capitalization in Placeholders

I get a lot of international emails that I respond to with templates. In some regions, people create email addresses using lower case letters. Then the placeholder gets filled in with an uncapitalized name. I would like to have the placeholders automatically capitalize first name and last name, even if they are not otherwise capitalized by the sender.
ClosedClosed

Nov 30, 2022

William, thank you for your feedback. You can already do this with our message templates. Internally we use the Liquid language for the template placeholders, so you can use all of these features: https://github.com/Shopify/liquid/wiki/Liquid-for-Designers In you example, you could do {{ toRecipient.firstName | capitalize }} in your template