Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Rapid PHP 2018 15.5
IBDAC 6.4
Online Course Booking Script 1.3.3
Database Workbench Pro 5.6.4
Job Portal Script 1.3.2
The C# PDF Library 5.2
PostgreSQL Data Access Components 6.0
Virtual Data Access Components 11.0
HTMLPad 2018 15.5
WeBuilder 2018 15.5
SentiMask SDK Trial 2.0.0
Track Order For Magento 2 1.0.0
Calendar 365 For Dynamics CRM 4.0
Scimbo 1.2
Odoo Furnito Theme 1.0
Top Code
Azizi search engine script PHP 4.1.10
Hotel Management System Restaurant Version 5.25
MCU 8051 IDE 1.4.7
Travel Booking script 1.0.4
AJ Matrix v2.6
College Management System Script 1.0.4
Java-2-Pseudo 1.0
Newest MySQL manual in HTML Help (.chm) 4.1.1-alpha
MLM Software ONE 1.5.46
Discrete Frechet Distance 1.0
Ticket Booking System 1.0
Personal Web Portal 5.0
Chessgra 1.1
VChess 6.x-1.x-dev
dbForge SQL Decryptor 3.1
Top Rated
VisualNEO Web 2018.12.15
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
ADO.NET Provider for ExactTarget 1.0
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.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: 15
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: 15



More Similar Code

This module is used to obtain Canada Post shipping quotes for Ubercart. It interfaces with Canada Post's "SellOnline" service (http://sellonline.canadapost.ca) 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