Discussing APIs and development related to customers, discounts, and order management.
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
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?
Solved! Go to the solution
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
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
yep, I already found it and it works, thank you!