Solved

Insert Property | Firstname|default change in Capital Letters

  • 5 October 2021
  • 2 replies
  • 356 views

Badge

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

icon

Best answer by retention 5 October 2021, 19:27

View original

2 replies

Userlevel 7
Badge +38

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!

Hi there!

 

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

 

Thank you

Reply