View Single Post
  #28  
Old 09-26-2008, 05:03 AM
 
floyd_2 floyd_2 is offline
 

Advanced Member
  
Join Date: Jul 2007
Posts: 69
 

Default Re: Ability to select shipping carrier for tracking numbers

Ok...this is my last word on the topic for the evening lol.

Here is a much tidier way of handling Couriers Please in Australia:

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>

If you prefer a plain HTML result page without the Couriers Please banner on the top, just remove "printable=true&" and you'll get the plain result page. I figure that the printable version of the page with the Couriers Please logo on top is better for my customers.

Don't forget to go to Languages and add txt_cplease_redirection with appropriate text (like "You will be redirected to Couriers Please Delivery service site, by clicking this button."). Also update skin1/main/history_order.tpl using the post above by imexhouse as a guide.

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