Search code examples
magentomagento-1.5

how to add order tracking link on the order confirmation email


I want to send a order tracking link on the confirmation email that magento sends when a customer places an order,that link should take customer to main page or the tracking page of the courier company. can someone guide me

say for example i'm using a dhl for shipping of the orders placed by the customer & i want to add the field something like this on the confirmation email that magento sends to the customer when tha oredr is placed....

Track your Shipment at http://www.dhl.com/trackorder?trackingId=DC00392903


Solution

  • You can easily change and create e-mail templates under System - Transactional Mails. There you can create a new e.g. order confirmation mail and you can add your general tracking link there. You can find an overview over the variables you can use in the mail here. Afterwards, you can define to use the new mail template under System - Configuration - Sales - Sales Mails.

    If you need an individual one, you first have to tell us where the tracking number is saved...