Skip to main content

I’m using a dynamic lookup in an email template that looks like this:

{{ person|lookup:'PRODUCTS: product_0_name'|split:'/' }}

Which returns an array that looks like this: 

<'Product Name', ' Product Size ', ' Product Variant']

What filter do I need to add after the “split” to display only the first item in the returned array? 

Appreciate it...

A… figured it out “|first” works for my needs. 


Hey @fgroast 

Congrats on your first post and figuring out a solution that works for you! So happy to have you in the community!


Reply