Changing Carrier Tracking Links

How do I change the link that is produced for the tracking number in the dispatch email? The DHL one currently points to the US site and I want to change it.

How do I change the link that is produced for the tracking number in the dispatch email? The DHL one currently points to the US site and I want to change it.

Here is the corresponding file: app/schemas/shippings/carriers.php

I've just upgraded my developer store to 4.4.2 so I can start playing with the custom invoice editor and I noticed it has reverted the link for Australia Post tracking back to the incorrect link.

I changed it in the carriers.php file which was in the location indicated above on my old installation but it does not seem to be there on 4.4.2

I tried copying the file across from my live store but it still doesn't seem to reference it.

It generates the url as -

https://auspost.com.au/parcels-mail/track.html?exp=b&id=(TrackingNo)#/track

when it actually should be

https://auspost.com.au/parcels-mail/track.html#/track?id=(TrackingNo)

Any ideas where that carriers.php file is in the latest version??

/app/addons/mobile_admin_app/schemas/api/carriers.php

Ok, so I found where the file is and I have the link 90% done but I don't know what to add on the end to get it to reference the tracking number entered in to each order.

It will do it if I add %s after id= but then it will open up a different page that I don't want it to.

file was actually located here - /app/Tygh/Shippings/Services/Aup.php

and my link looks like this so far - https://auspost.com.au/parcels-mail/track.html#/track?id=

i have added extra carriers and their tracking url.. the urls working properly in frontend.. but when i click on tracking number in admin panel it redirects to the same order detail page instead of tracking url

Heads up.
Australia Post, in their infinite wisdom, are changing the Tracking URL ...again.

Soon will be https://auspost.com.au/track/%5Bid%5D
An instruction regarding changes to which files needing to be updated would be handy.

eg, for /app/Tygh/Shippings/Services/Aup.php
Currently for csc v4:

'tracking_url' => 'http://auspost.com.au/track/track.html?exp=b&id=%s' 

Not sure what this should be now: Is this correct ?

'tracking_url' => 'https://auspost.com.au/track/%s'

And for
/design/themes/basic/mail/templates/common/carriers.tpl and

/design/themes/basic/templates/common/carriers.tpl

{$url = "http://auspost.com.au/track/track.html?id=`$tracking_number`"}

Change to?

{$url = "https://auspost.com.au/track/`$tracking_number`"}