Can checkout names be customized using liquid?

Hello,

Is a customization to merge first and second name possible? Of course with spacebar in between the two.

Also is liquid capable of splitting the names in order to store the separately in a database.

Thanks for your responses!

Erik

Hi @eriklist ,

You can use the ‘append’ function to append the names. Refer: https://shopify.dev/api/liquid/filters/string-filters#append

For example:

{{ name_1 | append: ' ' | append: name_2 }}

Hope it helps!

1 Like