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

livininjaradise
Visitor
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
Shopify Partner
3 0 3

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 (Retired)
512 74 103

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! 

To learn more visit the Shopify Help Center or the Community Blog.