Skip to main content

I’m trying to use downcase in liquid but on a merge tag. For example, I’m trying to do this:

Your next step is to {{ "{{customer.guide_space_heating_next_step_collection.step_title}}" | downcase }}.

 

But the result is this:

 

Your next step is to Review rebates and tax incentives" | downcase }}. 

 

Is there a way to downcase a merge tag?

Hey vivao,

you used too many bracets ;)

Try this:

{{ customer.guide_space_heating_next_step_collection.step_title | downcase }}


Ah, doesn’t need quotes around it because it’s already a merge tag -- that makes perfect sense.


Reply