How do I add the ship to first and last name to order history on customer account page?

livininjaradise
New Member
1 0 0

How do I add the ship to first and last name to order history on customer account page?

I'd like to add it like this to my customer accounts page.

 

Screen Shot 2021-10-26 at 6.37.03 AM.png

Replies 2 (2)
aresena
Tourist
3 0 2

Hi!

You can access that through: 

 {{ order.customer.name }} 

or

{{ order.customer.first_name }} {{ order.customer.last_name }}   

 

You can read more about it here: https://shopify.dev/api/liquid/objects/order#order-customer and here: https://shopify.dev/api/liquid/objects/customer#customer-first_name 

Marty
Shopify Staff
413 67 82

Hi, @livininjaradise.

Thanks for your message, I was digging into this for you, but it looks like @aresena beat me to it! Please let us know if you have any additional questions, however, the resources shared here should be able to help you out moving forward! 

Marty | Social Care @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit the Shopify Help Center or the Shopify Blog