Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

HTML Email UPS "Track IT!" Button; Order completed

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 06-04-2004, 06:42 AM
 
Sailor Sailor is offline
 

Member
  
Join Date: Sep 2003
Posts: 20
 

Default HTML Email UPS "Track IT!" Button; Order completed

HTML Email UPS "Track IT!" Button; Order completed integration!

As a customer I always liked to track my shipments right away, and the best solution was when a Online Store made it easy and included a "Track IT" link or button on a Order Completion Email.
Well not sure if someone already posted an "UPS Track IT" button and link for each successful Order completion email!

File to modify (please make a backup):
skin1/mail/html/
order_customer_complete.tpl

Code:
<table border=0 cellpadding=2 cellspacing=1 width=100%> <tr> <td width=20%>{$lng.lbl_order_id}:</td> <td width=10></td> <td width=80%><tt>#{$order.orderid}</tt></td> </tr> <tr> <td>{$lng.lbl_order_date}:</td> <td width=10></td> <td><tt>{$order.date|date_format:$config.Appearance.date_format}</tt></td> </tr> {if $order.tracking} <tr> <td height="23">{$lng.lbl_tracking_number}:</td> <td width=10 rowspan="2"></td> <td rowspan="2"> <tt><tt>{$order.tracking}</tt></tt></td> </tr> <tr> </tr> <tr> <td></td> <td></td> <td><tt> </tt> <form name="noname" method="POST" action="http://wwwapps.ups.com/tracking/tracking.cgi" > <input name="accept_UPS_license_agreement" type="hidden" value="yes" > <input name="nonUPS_title" type="hidden" value > <input name="nonUPS_header" type="hidden" value > <input name="nonUPS_body" type="hidden" value > <input name="nonUPS_footer" type="hidden" value > <input name="tracknum" type="hidden" value="{$order.tracking}"> <input name="submit" type=submit value="Track your Order!"> </form> Clicking this button you will be redirected to United Parcel Service site at http://www.ups.com/WebTracking/track?loc=en_US </p></td> </tr> {/if} {include file="mail/html/order_data.tpl"} </table>

Let me know what you thing... Check it out first in your html editor...and make changes to the table
__________________
``````` (
~~~~\\______|~~~~~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Reply With Quote
  #2  
Old 06-06-2004, 01:38 AM
 
FX FX is offline
 

Member
  
Join Date: May 2004
Location: US
Posts: 12
 

Default Re: HTML Email UPS "Track IT!" Button; Order compl

Quote:
Originally Posted by Sailor
As a customer I always liked to track my shipments right away...
Me too. Great mod, will check it out soon.
Thanks!
Reply With Quote
  #3  
Old 06-09-2004, 09:52 AM
 
rivermarinesupply rivermarinesupply is offline
 

Advanced Member
  
Join Date: Nov 2003
Posts: 65
 

Default

How are you adding your UPS tracking number to X-Cart? Manually?

Thanks,
Eduardo.
Reply With Quote
  #4  
Old 06-09-2004, 06:05 PM
 
Sailor Sailor is offline
 

Member
  
Join Date: Sep 2003
Posts: 20
 

Default

Quote:
Originally Posted by rivermarinesupply
...UPS tracking number to X-Cart? Manually?

Thanks,
Eduardo.

Yes under your Order-Admin Section, select one order, and on the order detail at the end (bottom) you are able to enter the specific UPS Code to track that particular order.

I'm in process to generated a nicer HTML Order completion Customer E-mail. Will post it soon. I got some great ideas from the other Forum Guys like the"xcart_3.5.4_invoice_mod". Great mod... thks Guys

Looking into a Cron Job for auto Customer Satisfaction emails, after the Customers has received his Order. Any ideas about it..let me know as well.
__________________
``````` (
~~~~\\______|~~~~~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
Reply With Quote
  #5  
Old 06-09-2004, 06:35 PM
  adpboss's Avatar 
adpboss adpboss is offline
 

X-Man
  
Join Date: Feb 2003
Location: Ontario, Canada
Posts: 2,389
 

Default

Quote:
Originally Posted by Sailor
Looking into a Cron Job for auto Customer Satisfaction emails, after the Customers has received his Order. Any ideas about it..let me know as well.

Now that is a SWEET idea!
Reply With Quote
  #6  
Old 02-18-2005, 02:18 PM
 
nfc5382 nfc5382 is offline
 

X-Adept
  
Join Date: Nov 2002
Posts: 480
 

Default

great mod, thanks!
__________________
-----------------------
x-cart v4.7.6 [LIVE]
x-cart v4.0.18 [retired 2004-2016]
x-cart v3.5.13 [retired]
x-cart v3.4.14 [retired]
Reply With Quote
  #7  
Old 11-29-2006, 01:08 PM
 
ryan c. ryan c. is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 58
 

Default Re: HTML Email UPS "Track IT!" Button; Order completed

any way you can get this to work with USPS?

http://www.usps.com/shipping/trackandconfirm.htm

Thanks

Got it neverminf

Thanks
__________________
Version 4.1.8
Reply With Quote
  #8  
Old 11-29-2006, 01:16 PM
 
Audiolines Audiolines is offline
 

Senior Member
  
Join Date: Mar 2006
Posts: 102
 

Default Re: HTML Email UPS "Track IT!" Button; Order completed

using UPS worldship software it is possible to have the #'s inserted into the database as soon as they are generated. bye bye manual entry.

you need to sync your worldship software to xcart's DB via ODBC.
exact specifics of this, i am not sure
__________________
version 4.0.17
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 11:52 AM.

   

 
X-Cart forums © 2001-2020