X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   HTML Email UPS "Track IT!" Button; Order completed (https://forum.x-cart.com/showthread.php?t=7912)

Sailor 06-04-2004 06:42 AM

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

FX 06-06-2004 01:38 AM

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!

rivermarinesupply 06-09-2004 09:52 AM

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

Thanks,
Eduardo.

Sailor 06-09-2004 06:05 PM

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.

adpboss 06-09-2004 06:35 PM

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! :D 8)

nfc5382 02-18-2005 02:18 PM

great mod, thanks!

ryan c. 11-29-2006 01:08 PM

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

Audiolines 11-29-2006 01:16 PM

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


All times are GMT -8. The time now is 07:26 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.