Several Important aspects make an online business successful like creating and implementing a marketing strategy, managing social media, writing emails, balancing the books, managing and ordering inventory and so on. And shipping may be at the lowest position on your list but its powerful enough to break your business. Because once customer orders the product, he or she is always wanting to know the shipping status until they receive their product hands on.
Sending such shipment tracking ID in your order email help your customer to track their shipment without contacting you or raising request. Unfortunately, Magento doesn’t bind order tracking code in the email that’s the reason why we have to code for adding shipment id in an email.
Here is the small piece of code that allows you to add Order tracking ID link in Shipping Email of Magento 2.

To do the same first we need to override this file:

by creating this path:
Now add the below code using for each loop.

That’s it for today, Let us know if you are facing an issue while implementing this code by commenting below.

Happy Coding!

Click to rate this post!
[Total: 11 Average: 4.3]