Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

add the button in the order confirmation

Solved

add the button in the order confirmation

yuriiIdeaInYou
Shopify Partner
3 0 0

Hi. Could I add the button in the order confirmation email that will take the customer to the order confirmation page and the customer will be able to check his order one more time?

Accepted Solution (1)

Liam
Community Manager
3108 344 910

This is an accepted solution.

Hi YuriiIdeaInYou

 

You can use the {{ order_status_url }} variable in email notifications to generate a link to the order status page for that order. So to create a button you'd add this to the order confirmation email: 

 

<a href="{{ order_status_url }}" class="button__text">View your order</a>

Liam | Developer Advocate @ 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 Shopify.dev or the Shopify Web Design and Development Blog

View solution in original post

Replies 2 (2)

Liam
Community Manager
3108 344 910

This is an accepted solution.

Hi YuriiIdeaInYou

 

You can use the {{ order_status_url }} variable in email notifications to generate a link to the order status page for that order. So to create a button you'd add this to the order confirmation email: 

 

<a href="{{ order_status_url }}" class="button__text">View your order</a>

Liam | Developer Advocate @ 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 Shopify.dev or the Shopify Web Design and Development Blog

yuriiIdeaInYou
Shopify Partner
3 0 0

yep, I already found it and it works, thank you!