Shopify themes, liquid, logos, and UX
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
Hey. Does anyone with some coding knowledge know how to change the button link on the shipping confirmation email please?
At the moment the button says ‘View Your Order’ and pressing it takes you to the order confirmation page. But the wording on the order confirmation page post-shipping is confusing , and you can’t change it. I feel that the focus of this email should be to point people to the order tracking.
So instead I want to change the button to say: ‘Track Your Order’ and for clicking it to do the same thing as clicking the tracking number below - ie take the customer to the carrier’s tracking page to view their order tracking.
I can see how to change the wording on the button in the code, and how to remove the button, but not how to change the button link.
Thanks in advance 🙏😊
Solved! Go to the solution
This is an accepted solution.
Hey @W_J_B,
Provided you haven't changed anything else, the line numbers should be the same.
Change the highlighted part in the first image to
<td class="button__cell"><a href="{{ fulfillment.tracking_url }}" class="button__text">Track your order</a></td>
Before
After
This is an accepted solution.
Hey @W_J_B,
Provided you haven't changed anything else, the line numbers should be the same.
Change the highlighted part in the first image to
<td class="button__cell"><a href="{{ fulfillment.tracking_url }}" class="button__text">Track your order</a></td>
Before
After
Perfect. Thank you so much! 😊🙏
Hello
I would like to add a url link in the button that directs to a webpage. How can i do that please?