I added the following code to my abandoned cart subject line.
{{ billing_address.first_name }}
But it does not add the name. Does this code not work anymore?
I added the following code to my abandoned cart subject line.
{{ billing_address.first_name }}
But it does not add the name. Does this code not work anymore?
Hi, @Boxtherob !
My name is Rae and I work for Shopify. I appreciate you reaching out about this!
The variable billing_address.first_name definitely still exists, and can be found in this chart on our help document that covers notification variables.
With this in mind, when you’re adding this variable to the subject line of your abandoned checkout notifications, it’s important to follow these exact steps:
Once you preview this notification after making the change, the subject line should include the customer’s name. If this isn’t the case though, can you please reply back to me here with a screenshot that shows how this is appearing on your end? That way, I can help take a closer look into this.
I look forward to hearing back from you soon!
Hi, @Boxtherob !
I hope you’re doing well.
I wanted to follow up with you here to find out if the steps I shared above helped resolve your query?
If you still need additional help, please let me know!
Thanks for checking in. I have the code set properly but it doesn’t always work. I’ll just leave it as is. Thanks for your help.
Hi, @Boxtherob !
Thanks so much for getting back to me about this.
I’m sorry to hear that the code is sometimes not working, and I’d like to make sure this works consistently for you.
With this in mind, can you tell me a bit more about when the code isn’t working? Is there a particular scenario where the code doesn’t seem to work, or does it seem like it randomly stops working?
If you can please share some screenshots with me that show what the abandoned cart email looks like when the code isn’t working, I can definitely continue lending a hand with this.
Hello @Boxtherob
Actually, on Abandoned Email {{ billing_address.first_name }} will only work when the customer has billing information. There is another variable {{ customer.first_name }}, but it only working on Order Confirmation Email.
Thanks