Guest eshopbrokers Posted June 21, 2008 Share Posted June 21, 2008 Hi, I have seen the courier tracking field on the edit order page and I was wondering how you would supply tracking for a customers order. It asks for a URL, would that just be to the couriers website, or can we actually display the customers tracking number which they can then go on to track it at the couriers website? Quote Link to comment Share on other sites More sharing options...
Guest Posted September 11, 2008 Share Posted September 11, 2008 Excellent question Hi, I have seen the courier tracking field on the edit order page and I was wondering how you would supply tracking for a customers order. It asks for a URL, would that just be to the couriers website, or can we actually display the customers tracking number which they can then go on to track it at the couriers website? Quote Link to comment Share on other sites More sharing options...
Ausy Posted September 11, 2008 Share Posted September 11, 2008 Hi, I have seen the courier tracking field on the edit order page and I was wondering how you would supply tracking for a customers order. It asks for a URL, would that just be to the couriers website, or can we actually display the customers tracking number which they can then go on to track it at the couriers website? It depends, some couriers show the process of a delivery on a single webpage, you just copy and past that url into the field. Or you can use the url that takes you to the home page or tracking page of your courier, and then provide the customer with their tracking number via the "notes to send to customer" field in admin. The customer will see the tracking link when they log into their account. Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted September 11, 2008 Share Posted September 11, 2008 Here's an example... We use DHL, and they have online tracking in their website. I can do 2 things: 1. Provide the customer with the tracking number, and the general tracking website. 2. Go to the tracking website myself, enter in the tracking number, and copy the generated URL, and provide that to the customer. The second is slightly more work (But not much), and easier for the customer. Obviously, each courier works a bit differently to each other. Quote Link to comment Share on other sites More sharing options...
Guest grahamlawton Posted December 10, 2008 Share Posted December 10, 2008 But does anyone know how do you get this courier tracking URL into the 'dispatched' email?! As it stands, the one place it really should be showing - the email! - it doesn't. Odd! Graham Quote Link to comment Share on other sites More sharing options...
Ausy Posted December 10, 2008 Share Posted December 10, 2008 Copy and paste the url into the notes to send to customer field, change the status to completed & dispatched, click edit and the url will be included in the email sent. Quote Link to comment Share on other sites More sharing options...
Guest grahamlawton Posted December 10, 2008 Share Posted December 10, 2008 Okay, I think I figured out how to get the tracking url into the emails... this seems to work in 4.2.3 with no bad side-effects I've noticed yet... Open up classes/cart/order.php and around line 313 and right after... Graham ps. the current Royal Mail tracking url follows the following format... $text .= macroSub($lang['email']['order_breakdown_2'],$macroArray); unset($macroArray); } Copy and paste this in... if(!empty($this->orderSum['courier_tracking'])) { $macroArray = array( "COURIER_URL" => $this->orderSum['courier_tracking'] ); $text .= macroSub($lang['email']['order_breakdown_2a'],$macroArray); unset($macroArray); } Then after saving (oh, and you did do a backup first didn't you?!), open up languages/en/email.inc.php, and right after... Payment Method: {PAYMENT_METHOD} Shipping Method: {DELIVERY_METHOD}", Copy and paste this in... 'order_breakdown_2a' => "\nCourier Tracking:\n{COURIER_URL}\n", Save that file and now when you enter a tracking url in the Admin/Order side, it should show up on your dispatch emails too http://www.royalmail.com/portal/rm/track?trackNumber=DH182063118GB Quote Link to comment Share on other sites More sharing options...
Ausy Posted December 10, 2008 Share Posted December 10, 2008 Oooh nice, thanks for sharing that. Will give it a try. :innocent: Quote Link to comment Share on other sites More sharing options...
angel12333 Posted March 15, 2009 Share Posted March 15, 2009 Nice Fix, Interesting, I can't seem to get it to work in 4.3, anyone get it to work there Quote Link to comment Share on other sites More sharing options...
Guest jmn0426 Posted March 15, 2009 Share Posted March 15, 2009 i use USPS and UPS for my shipments. for those of you interested here are those two links. after the "=" at the end you would just type the tracking number and also do not forget to delete the < and > before and after the link it was there so you could see the entire link UPS TRACKING <http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=> USPS TRACKING <http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=> Quote Link to comment Share on other sites More sharing options...
Guest urban_kings Posted April 18, 2009 Share Posted April 18, 2009 i use USPS and UPS for my shipments. for those of you interested here are those two links. after the "=" at the end you would just type the tracking number and also do not forget to delete the < and > before and after the link it was there so you could see the entire link UPS TRACKING <http://wwwapps.ups.com/WebTracking/processInputRequest?HTMLVersion=5.0&loc=en_US&Requester=UPSHome&tracknum=> USPS TRACKING <http://trkcnfrm1.smi.usps.com/PTSInternetWeb/InterLabelInquiry.do?origTrackNum=> Hello, Thanks for information this is what i have been looking for. I also will like to know if there anyway to add a drop menu on Courier Tracking section with diff shipping sites on my case it would be usps or ups. Once drop down menu has choosing company we would just add the tracking number and the customer get a link just to click and track. Quote Link to comment Share on other sites More sharing options...
Ronnie50 Posted June 8, 2009 Share Posted June 8, 2009 I have been looking for this for a while. Thank you for supplying this info. Also i have cc4 v4.1.1 and it worked on my version. Good work!! Quote Link to comment Share on other sites More sharing options...
samjc Posted June 22, 2009 Share Posted June 22, 2009 Nice Fix, Interesting, I can't seem to get it to work in 4.3, anyone get it to work there Same here. any solutions for 4.3? thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.