Solved

Insert Property | Firstname|default change in Capital Letters

  • 5 October 2021
  • 1 reply
  • 273 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

1 reply

Userlevel 7
Badge +34

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!

Reply