Code Directory
 Visual Basic & VB.NET
New Code
The C# OCR Library 2020.11
SentiVeillance SDK Trial 7.3.2020.11.30
VaxVoIP WebPhone SDK
SentiMask SDK Trial 2.0_193121
C# QR Code Generator 2020.12
How to Read Text from an Image in C# 2020.12
The .Net PDF Library 2020.12.3
fsMediaLibrary.NET 2019.11.0
Entity Developer 6.9.1112
OrgChart JS 7.5.40
LinqConnect 4.9.2096
SSIS Data Flow Components 1.15
IP2Location Geolocation Database Oct.2020
Luxand FaceSDK 7.2
dbForge Data Compare for PostgreSQL 3.3.6
Top Code
IcrediBB Bulletin Board System 1.0
phpXplorer 0.9.12
NES Rom Maker 1.0
Ready Made MLM Script 1.0.4
Circle Fit (Taubin method) 1.0
viPanel Package 1.1
DBISAM ADO.Net Provider 2.0.0
invjor 1.0
Azizi search engine script PHP 4.1.10
jCoder - Portable Java Coding 1.0
Structure Learning Package for Bayes Net Toolbox 1.0
Kalman filter(fixed point version) 1.0
MATLAB Contest - Crossword Puzzle 1.0
Configurable Math Library 1.0.3
Windowed mutual information (migram) 1.0
Top Rated
Uber Clone with Safety Measure Addons 2.0
Answers phpSoftPro 3.12
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Apphitect Airbnb Clone Script 1.0
Deals and Discounts Website Script 1.0.2
Pro MLM 1
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
ICPennyBid Penny Auction Script 4.0
Package Tracking for Ubercart 6.x-1.2
File ID: 98245

Package Tracking for Ubercart 6.x-1.2
Download Package Tracking for Ubercart 6.x-1.2http://drupal.orgReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 20
Submit Rating:
Package Tracking for Ubercart 6.x-1.2 Description
Description: Tracking information is probably the most important thing the customer is interested in seeing after an order is placed! The customer wants to know "Where's my stuff?", and you don't want him bugging you about it.

This module lets your customer (or you, the admin) track shipped packages. It uses a hook to interface with installed shipping methods, so it can support tracking packages sent by any carrier, provided the hook is implemented. This module comes with hooks pre-written for FedEx, UPS and USPS.

It works by modifying the user order history page (e.g. user/4/orders) to display a clickable tracking number (or numbers) associated with each order. The user can click on the number and get real-time tracking details for his merchandise.

I decided to display the tracking number on the order history page so the customer wouldn't have to drill down and look for the tracking number - it should be right up top, since it's the thing they care about most. (This active tracking link should also be available on any page where the tracking number appears, but to do that easily requires modifications to the core Ubercart modules.)

To Use:
Install the uc_tracking module. Enable it at admin/build/modules.

Note that none of the shipping quote modules are listed as dependencies. That is not a mistake - this module checks for shipping methods implementing the hook. However, if you want to get tracking information for a specific carrier you MUST have that carrier's shipping quotes module installed, enabled, and configured with the correct authorization information (user id, password) needed to contact the carrier's server. It is NOT necessary to turn on shipping quotes for that carrier - simply enabling the module is sufficient.

When you ship a package, you need to choose the carrier from the select box at admin/store/orders/#/shipments/#/edit and enter a tracking number. The carriers displayed are chosen from the list of enabled shipping quotes modules. Tracking numbers will now show up as active links in the user order history page at user/#/orders. Clicking these links will contact the carrier's server to get and display real-time tracking information.

Implementation details:
No Ubercart core modules were harmed in the making of this contribution. However, some functions were ruthlessly overridden, resulting in some core modules with hurt feelings.

Specifically, the user/#/orders menu, defined in uc_order_menu(), was overridden to call my uc_tracking_order_history() function instead of the core uc_order_history() function. Likewise, the uc_shipping_shipment_edit form was altered to force the admin to select a carrier to associate with the entered tracking number ("Other" is also allowed...). This is necessary because to track a package, the code needs to know which carrier the tracking number is for.

This module defines hook_uc_tracking() and provides implementations for FedEx, UPS, and USPS tracking. Adding support for other carriers only requires implementation of that one hook.

hook_uc_tracking() returns an associative array in a specific format containing tracking details. The format of this array is described in the comments in uc_tracking.module.

The code is commented throughout.

It is intended that the implementations of hook_uc_tracking() provided for FedEx, UPS, and USPS will be moved into their corresponding shipping quotes modules and removed from this uc_tracking module.

Revision notes:
A change in Ubercart versions 6.x-2.0-beta6 through 6.x-2.0-rc2 renamed the menu path for the user order history. As a result, this module will not work properly with those versions. Please ensure you are using Ubercart 6.x-2.0-rc3 or higher.

License: Freeware

Related: Tracking, Number, Module, shipping, carrier, Order, Modules, Quotes, Customer, History, ubercart, Information, Display, Fedex, requires, Array, Realtime, numbers, Details

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 20

More Similar Code

This module is used to obtain Canada Post shipping quotes for Ubercart. It interfaces with Canada Post's "SellOnline" service ( to quotes directly from the Canada Post server. Works for both domestic and international shipments.

Orders are automatically divided into packages of 30kg or less. 30kg is the Canada Post weight limit for a package. This module will calculate how many packages need...

ECO (Extra Customization Options for Ubercart) provides additional ("extra") options to customize Ubercart.

Please see a list of features below. Some of the functionality provided also includes a degree of integration with...

This is a payment gateway for Ubercart that implements v2.23 of the SagePay Direct protocol, allowing Ubercart to accept credit card payments via SagePay. It can process 3D-Secure transactions ("Verified By Visa" / "MasterCard...

Shipping quote module for Ubercart that uses the FedEx Web Services API to get rate quotes directly from the FedEx server.

This module requires PHP 5 built with the SOAP extension enabled (--enable-soap).

Detailed information...

This module provides a Auriga e-Payment (Posten BetalvdoTAxel) payment method for Ubercart.

NOTE: This is work in progress. Only Visa/Mastercard payment is currently implemented.

Development currently happens at GitHub, so...

JNE-TIKI Tracking for WordPress is a WordPress plugin that can integrate JNE / TIKI tracking into your online shopping website without leaving your own website. It's really simple and easy. You just need to put <!--jne-tiki-tracking--> into...

This module provides a discount mechanism for Ubercart package based on user's total amount of purchases they have ever done on the web site. There is a rate scale where administrator can specify an either fixed or percentage discount. The more a...

This is a PrivatBank credit card payment gateway for Ubercart package.
PrivatBank is a very popular and one of the largest banks in Russian and Ukraine.

This module will allow all Russian and Ukraine web sites to accept payments...

This module provides shipping integration for Ubercart and Shipwire. It currently supports all 4 API methods from ShipWire:

* Shipping Quotes
* Order Placement
* Real-time stock update (via cron currently)
* Status...

With this plugin you can have Instant GPS Tracking for your WordPress site. (Extended version of GEOTAG plugin.). You can add coordinates to your posts and display maps with these positions. On these maps you can also display KML/KMZ files or the...

User Review for Package Tracking for Ubercart
- required fields

Please enter text on the image