View Single Post
  #33  
Old 09-25-2008, 03:33 AM
 
floyd_2 floyd_2 is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 69
 

Default Re: Add a UPS "track it" button to customer email

Hi guys,
it's me once again. I managed to work out how to populate the shipping form on the newly released Australian TNT web site, and it works like a charm. It was the new asp form on TNT Australia's site that was tricking me.

In modules/Order_Tracking, create a TNT template called tnt.tpl like this:

HTML Code:
{* $Id: tnt.tpl,v 1.1 2008/09/26 14:07:32 twice Exp $ *} <form id="Tracking" name="Tracking" action="http://www.tntexpress.com.au/InterAction/ASPs/CnmHxAS.asp?{$order.tracking}" method="post" target="_blank"> <input type="submit" value="{$lng.lbl_track_it|strip_tags:false|escape}" /> <br /> {$lng.txt_tnt_redirection} </form>

Don't forget to create a new label, in Languages, called txt_tnt_redirection. Populate that label with:

Code:
You will be redirected to the TNT Delivery service site, by clicking this button.


This allows your customers to click Track It! and it will take them to the results page for the TNT Domestic Consignment Tracker for that consignment.

I have done the same with Couriers Please (slightly different code but same results), and also embedded a Track It! button in the Order Completion emails for good measure.

For anyone who may be interested, the Couriers Please tracking template looks like this:

HTML Code:
{* $Id: couriers_please.tpl,v 1.1 2008/09/25 14:07:32 twice Exp $ *} <form name="barcode" action="http://www.couriersplease.com.au/track.php?printable=true&couponid={$order.tracking}" method="post" target="_blank"> <input type="submit" value="{$lng.lbl_track_it|strip_tags:false|escape}" /> <br /> {$lng.txt_cplease_redirection} </form>

Dean
__________________
X-Cart Gold v4.1.8
Reply With Quote