Skip to main content
Solved

Insert Property | Firstname|default change in Capital Letters

  • October 5, 2021
  • 3 replies
  • 4477 views

Forum|alt.badge.img+2

Good day,

I use Klaviyo for the abandoned cart option, for my whole text i use capital letters, but for now it’s not possible to change the Firstname|default in Insert Property to capital letters. 

 

I hope that somebody can help me with.

Looking forwards to a solution.

Kind regards,

Joris

Best answer by retention

Hi @JorisTruthHurts - welcome to the community!

You can use “Template Tag Filters” which are handy little functions that can apply formatting or styling to Template variables. For example, if you want to change the value to “All Caps” - there is a filter called upper that you can use.  

Specifically to change the First Name variable to all upper case, you can use this code:

{{ first_name|upper|default:'there' }}

For reference, here’s a few other Filters that might be helpful too:

Hope this helps!

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 932 replies
  • Answer
  • October 5, 2021

Hi @JorisTruthHurts - welcome to the community!

You can use “Template Tag Filters” which are handy little functions that can apply formatting or styling to Template variables. For example, if you want to change the value to “All Caps” - there is a filter called upper that you can use.  

Specifically to change the First Name variable to all upper case, you can use this code:

{{ first_name|upper|default:'there' }}

For reference, here’s a few other Filters that might be helpful too:

Hope this helps!


Forum|alt.badge.img+3
  • Contributor III
  • 5 replies
  • June 14, 2022

Hi there!

 

This was helpful. How can I set only the first letter capital? Like this: Joseph and not JOSEPH

 

Thank you


Forum|alt.badge.img+4
  • Problem Solver I
  • 16 replies
  • July 29, 2022

Use ‘title.

{{ first_name|title|default:'there' }}