Woocommerce, first name in invoice

No, you can’t simply do that, because of the space between the variables.

You will have to check if length is greater than 1, or use the trim function before ifempty.

Hope this helps! Let me know if there are any further questions or issues.

@samliew


P.S.: Did you know, the concepts of about 70% of questions asked on this forum are already covered in the Make Academy. Investing some effort into it will save you lots of time and frustration using Make later!

1 Like