Guest benjam Posted March 14, 2005 Share Posted March 14, 2005 ROYAL MAIL TRACE ORDER LINK By Benjam With thanks and credit to JBDANCER for the initial code and help Tested in cubecart version 2.0.3 About: This mod allows the customer to see the Tracking number when they view their order info as an active link. When they click on the link they will be taken to the Royal Mail tracking page where they will be told the the delivery status of their order. Very professional and the same service that Play.com use on their website. And its FREE!!! View File Link to comment Share on other sites More sharing options...
Tariq2009 Posted March 15, 2005 Share Posted March 15, 2005 Hi I tried to install the code below but i cant fine the codes that jbdancer said in view_order.php so i dont know where to replace them .Thanks ***Step 1. Open view_order.php Find -> echo"<br><br><b>$la_tracking_number</b><br>$tracking_no<br></td> Replace with --> echo"<br><br><b>$la_tracking_number</b><br><a href=\"http://afis.postoffice.co.uk:8080/RoyalMail/RMGTT?ITEMIN=$tracking_no&DATEIN=$ship_date\">$tracking_no</a><br><br></td> ***Step 2. Still in view_order.php Find -> Â Â $ship_service=$row["ship_service"]; Â Â $tracking_no=$row["tracking_no"]; Â Â $customer_comments=$row["customer_comments"]; Â Â $customer_comments = stripslashes($customer_comments); Replace with --> Â Â Â $ship_service=$row["ship_service"]; Â Â $ship_date=$row["ship_date"]; Â Â $tracking_no=$row["tracking_no"]; Â Â $customer_comments=$row["customer_comments"]; Â Â $customer_comments = stripslashes($customer_comments); Link to comment Share on other sites More sharing options...
Recommended Posts