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

How to change the button link on shipping confirmation email

Solved

How to change the button link on shipping confirmation email

W_J_B
Tourist
8 2 1

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 🙏😊

 

Accepted Solution (1)

ThePrimeWeb
Shopify Partner
2139 616 529

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 

 

ThePrimeWeb_1-1708865036211.png

 

After

 

ThePrimeWeb_0-1708864983275.png

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!

View solution in original post

Replies 3 (3)

ThePrimeWeb
Shopify Partner
2139 616 529

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 

 

ThePrimeWeb_1-1708865036211.png

 

After

 

ThePrimeWeb_0-1708864983275.png

 

Was I helpful?

Buy me a coffee

🙂

Need help with your store? contact@theprimeweb.com or check out the website
Check out our interview with Shopify!
W_J_B
Tourist
8 2 1

Perfect. Thank you so much! 😊🙏

metamorphbe
Visitor
1 0 0

Hello

 

I would like to add a url link in the button that directs to a webpage. How can i do that please?