Gman22 Posted October 20, 2005 Share Posted October 20, 2005 (edited) I made this module that all you do is type in a tracking number, and it takes you to the shippers site and tracks the package. http://70.92.228.115 What I might do is make one text box, and have it figure out which shipping company the tracking number belongs to, and go to the right site to track it. Gman22 Edited October 20, 2005 by Gman22 Quote Link to comment Share on other sites More sharing options...
Guest Posted December 23, 2005 Share Posted December 23, 2005 Hey , i am interested....I check your link but is down .. Where I can get it thanx I made this module that all you do is type in a tracking number, and it takes you to the shippers site and tracks the package. http://70.92.228.115 What I might do is make one text box, and have it figure out which shipping company the tracking number belongs to, and go to the right site to track it. Gman22 Quote Link to comment Share on other sites More sharing options...
Guest Posted December 26, 2005 Share Posted December 26, 2005 http://www.oscommerce.com/community/contri...search,tracking Quote Link to comment Share on other sites More sharing options...
bobg7 Posted December 27, 2005 Share Posted December 27, 2005 I have one that I use on my site I call tracker.php and you can see it HERE the code is a bit sloppy but it works. Here is the code if you want it: <?php echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n"; echo "\"http://www.w3.org/TR/html4/loose.dtd\">\n"; echo "<html>\n"; echo "<head>\n"; echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">\n"; echo "<title>Color Your Grout - Package Tracking</title>\n"; echo "<style type=\"text/css\">\n"; echo "<!--\n"; echo ".style1 {font-size: x-small}\n"; echo "-->\n"; echo "</style>\n"; echo "</head>\n"; echo "<body>\n"; echo "<FORM NAME=\"tracking\" ACTION=\"http://www.fedex.com/cgi-bin/tracking\">\n"; echo " <div align=\"center\">\n"; echo " <p><img src=\"images/logo.jpg\" width=\"600\" height=\"100\"></p>\n"; echo " <p>As a customer of Color Your Grout, we hope you will find this simple form helpful in tracking your package.<br>\n"; echo " From the Email sent to you, simple copy and paste the tracking number supplied into the box under the shipper used and click the <b>\n"; echo " <input name=\"Button\" type=\"button\" value=\"Track\">\n"; echo " </b> button below the box.<br>\n"; echo " You will be taken to the shippers page where you can get all the tracking information for your package.</p>\n"; echo " <hr>\n"; echo " <p><img src=\"images/fedexlogo.gif\" width=\"136\" height=\"49\"></p>\n"; echo " <p>Track Your <b>FedEx</b> package:<br>\n"; echo " <input type=\"text\" size=\"35\" name=\"tracknumbers\">\n"; echo " <br>\n"; echo " <INPUT TYPE=\"hidden\" NAME=\"action\" VALUE=\"track\">\n"; echo " <INPUT TYPE=\"hidden\" NAME=\"language\" VALUE=\"english\">\n"; echo " <INPUT TYPE=\"hidden\" NAME=\"cntry_code\" VALUE=\"us\">\n"; echo " <INPUT TYPE=\"hidden\" NAME=\"mps\" VALUE=\"y\">\n"; echo " <INPUT TYPE=\"submit\" VALUE=\"Track\">\n"; echo " </p>\n"; echo " </div>\n"; echo "</FORM>\n"; echo " \n"; echo " <p align=\"center\"><hr>\n"; echo " <p align=\"center\"><img src=\"images/upslogo.gif\" width=\"56\" height=\"71\">\n"; echo " <form method=\"get\" action=\"http://wwwapps.ups.com/etracking/tracking.cgi\">\n"; echo " <div align=\"center\">\n"; echo " <p>Track your <b>UPS</b> package:<br><input type=\"text\" size=\"35\" name=\"InquiryNumber1\">\n"; echo " <br>\n"; echo " <input type=\"hidden\" name=\"TypeOfInquiryNumber\" value=\"' . INQUIRY_TYPE . '\">\n"; echo " <input type=\"hidden\" name=\"UPS_HTML_License\" value=\"' . HTML_ACCESS_KEY . '\">\n"; echo " <input type=\"hidden\" name=\"UPS_HTML_Version\" Value=\"' . HTML_VERSION . '\">\n"; echo " <input type=\"hidden\" name=\"IATA\" value=\"' . DEFAULT_COUNTRY . '\">\n"; echo " <input type=\"hidden\" name=\"Lang\" value=\"' . DEFAULT_LANGUAGE . '\">\n"; echo " <input type=\"submit\" name=\"submit\" value=\"Track\">\n"; echo " </p>\n"; echo " </div>\n"; echo " </form></p>\n"; echo "<hr> \n"; echo " <div align=\"center\"><img src=\"images/uspslogo.gif\" width=\"157\" height=\"25\"></div>\n"; echo " <FORM ACTION=\"http://trkcnfrm1.smi.usps.com/netdata-cgi/db2www/cbd_243.d2w/output\" METHOD=\"POST\" NAME=\"getTrackNum\">\n"; echo " <div align=\"center\">\n"; echo " <p>Track your <b>USPS</b> package:<br>\n"; echo " <INPUT TYPE=HIDDEN TABINDEX=5 NAME=CAMEFROM VALUE=OK>\n"; echo " <INPUT TYPE=\"TEXT\" ID=\"Enter number from shipping receipt:\" MAXLENGTH=\"34\" SIZE=\"24\" NAME=\"strOrigTrackNum\">\n"; echo " <br>\n"; echo " <INPUT TYPE=\"submit\" VALUE=\"Track\">\n"; echo " </p>\n"; echo " </div>\n"; echo " </FORM>\n"; echo " </td>\n"; echo " </tr>\n"; echo " <div align=\"center\" class=\"style1\">Copyright © 2005 <a href=\"http://coloryourgrout.com\">Color Your Grout</a>\n"; echo " </td>\n"; echo " \n"; echo " </tr>\n"; echo " </div>\n"; echo "</body>\n"; echo "</html>\n"; ?> And this is how I linked it to the Information box: includes/boxes/information.php '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a><br>' . '<a href="' . tep_href_link(FILENAME_FAQ) . '">' . BOX_INFORMATION_FAQ . '</a><br>' . '<a href="http://www.coloryourgrout.com/tracker.php" title="Package Tracking">Package Tracking</a><br>' . '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a>'); You can snag the images from my site but please don't hotlink them. Of course, edit the text as you want. This is not a contribution, just something that works for me. Quote Installed Contributions: CCGV, Close Popup, Dynamic Meta Tags, Easy Populate, Froogle Data Feeder, Google Position, Infobox Header Entire Row, Live Support for OSC, PayPal Seal with CC images, Report_m Sales, Shop by Price Revised, SQL Updater, Who's Online Enhancement, Footer, GNA EP Assistant and still going. 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.
Note: Your post will require moderator approval before it will be visible.