Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 12/27/2022 :  07:48:48  
Hi,

We use Royal Mail and DPD Local.
When logged in as a customer if you click 'Track Package' it works OK if shipped by RM but DPD Local will send you to the Australia Post website...

DPD Local tracking numbers are 12 digit numbers.
Is there a fix for this please?

Thanks,

Steve

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

Posted - 12/28/2022 :  02:10:51  
Hi Steve,

We had this issue and fixed with a small edit to incfunctions.php although our DPD Local consignment numbers are 10 digit and the parcel numbers are 14 and not 12. I believe Australia Post is 14 too.

Please could you confirm the number of digits in your tracking and I will lookup the changes I make and post for you.

Regards,
David

Vince
Administrator

42694 Posts

Posted - 12/28/2022 :  07:24:57  
Hi Steve
Could you possibly send to my email (vince AT ecommercetemplates DOT com) a few examples of the DPD Local tracking numbers?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 12/28/2022 :  08:14:36  
Thanks for your replies David & Vince,

The DPD Local tracking numbers are currently 14 digits - Vince I'll email you a few examples.

Many thanks,

Steve

Vince
Administrator

42694 Posts

Posted - 12/30/2022 :  03:18:41  
Hi Steve and David
I had a check and the problem is as Steve mentioned that the DPD tracking numbers are 14 digits as are the AusPost tracking numbers. But what I could do is check the Store Country as if the store is a UK one, it's not going to be using AusPost. But there seems to be a small problem in that when I track a parcel on the DPD site I get a URL like this...
https://track.dpdlocal.co.uk/parcels/99999999999999*20085
...where the 999's are the tracking number and "*20085" is added at the end. I'm assuming that *20085 is some kind of anti BOT control but I doubt I can just add that to every tracking number as it probably changes from time to time. Could I ask you David with the changes you made, was this an issue?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

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:

[code]elseif($carrier=='dpdparcelno') $thelink='https://www.dpdlocal.co.uk/apps/tracking/?reference=';[/code]

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

Vince
Administrator

42694 Posts

Posted - 12/30/2022 :  11:23:09  
Many thanks for that David and that's just what I needed. The changes are now in the incfunctions.asp/php file in the v7.5 updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 12/30/2022 :  13:22:05  
Thanks David for helping with this and thanks Vince for coming up with a fix - just upadted and that all seems to function correctly now.

Steve

quadrant
Ecommerce Template Guru

United Kingdom
1110 Posts

Pre-sales questions only
(More Details...)

Posted - 12/31/2022 :  02:52:33  
Hi Steve,

Glad to help out.
Thanks to Vince for the changes as this will be one less thing for me to think about when upgrading.

Regards,
David
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000