Posted - 12/30/2022 : 08:18:16
Hi Vince, Checking the store country is a very good idea. As you rightly say both have 14 digit tracking and my mod removes the auspost version which of course wouldn't be any good in the core code. The change I currenly make is to replace the two carrier=auspost lines with a DPD version and on the 2nd line I use the following: elseif($carrier=='dpdparcelno') $thelink='https://www.dpdlocal.co.uk/apps/tracking/?reference='; This links to: https://www.dpdlocal.co.uk/apps/tracking/?reference=99999999999999 and this then redirects to: https://track.dpdlocal.co.uk/parcels/99999999999999*19801 I am not sure what the *????? is for but we have never had anyone say it doesn't work and I have just done a quick couple of tests and all seems good. It was a long time ago but I seem to remember getting the URL from DPD as they were different for consignment and parcel numbers but both now seem to redirect to the same URL (https://track.dpdlocal.co.uk/parcels/....) Regards, David
|