Jump to content

 

Felony

Member Since 17 Nov 2005
Offline Last Active Apr 29 2010 02:52 PM
-----

Posts I've Made

In Topic: New website

10 January 2007 - 12:54 AM

I agree, this site shouldnt be allowed as its not related in any way to CS-Cart and the CS Cart community..



This post is in the correct area. Its in Other forums---->General Chat

The Description for this area is "Here is the place to discuss anything not related to CS-Cart."

In Topic: Tracking Numbers

16 June 2006 - 08:40 PM

guess you had to add the target in - well if anyone wants to add this to there invoice just paste this in to you invoice.tpl - it shows the tracking # on your invoice or wherever plus has a direct link to the UPS website as well

<b>{$lang.tracking_number}:</b>  
<a href="http://wwwapps.ups.com/WebTracking/processRequest?HTMLVersion=5.0&Requester=NES&AgreeToTermsAndConditions=yes&loc=en_US&tracknum={$order_info.tracking_number}" target="_blank">{$order_info.tracking_number}</a>

In Topic: Tracking Numbers

16 June 2006 - 08:38 PM

yeah that worked perfectly - Thanks for the help ;]

In Topic: Tracking Numbers

16 June 2006 - 07:03 PM

Ok here you go:

{* $Id: invoice.tpl 1745 2006-05-11 10:22:28Z zeke $ *}

{if $order_info}

<style type="text/css">
body,th,td,tt,p,div,span {ldelim}
	color: #000000;
	font-family: tahoma, verdana, arial, sans-serif;	
	font-size: 11px;
{rdelim}
p,ul {ldelim}
	margin-top:	6px;
	margin-bottom: 6px;
{rdelim}
.form-field-caption {ldelim}
	font-style:italic;
{rdelim}
.form-title	{ldelim}
	background-color: #ffffff;
	color: #141414;
	font-weight: bold;
{rdelim}
</style>

<table cellpadding="0" cellspacing="0" width="100%"	border="0">
<tr>
	<td>
		<img src="{$images_dir}/spacer.gif" width="1" height="1" border="0" alt="" /></td>
	<td width="600" style="border: #444444; border-style: solid; border-width: 2px" align="center">
		<table cellpadding="10" cellspacing="0" width="100%" border="0">
		<tr>
			<td>

	{* Invoice header *}
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<td valign="top"><p></p>
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td valign="top">
					<img src="{$images_dir}/invoice_logo.gif" border="0" alt="{$settings.Company.company_name}" /></td>
				<td>    </td>
				<td valign="top" style="font-family: Verdana,Tahoma; font-size:10px">
					<div style="font-family: Arial; font-size:14px"><b>{$settings.Company.company_name}</b></div>
					{$settings.Company.company_address}<br />
					{$settings.Company.company_city}, {$settings.Company.company_state_descr} {$settings.Company.company_zipcode}<br /> 
					{$settings.Company.company_country_descr}<br />
					{if $settings.Company.company_phone}
						<b>{$lang.phone1_label}</b>: {$settings.Company.company_phone}<br />
					{/if}
					{if $settings.Company.company_phone_2}
						<b>{$lang.phone2_label}</b>: {$settings.Company.company_phone_2}<br />
					{/if}
					{if $settings.Company.company_fax}
						<b>{$lang.fax}</b>: {$settings.Company.company_fax}<br />
					{/if}
					{if $settings.Company.company_website}
						<b>{$lang.web_site}</b>: {$settings.Company.company_website}<br />
					{/if}
					{if $settings.Company.company_orders_department}
						<b>{$lang.email}</b>: <u>{$settings.Company.company_orders_department}</u><br />
					{/if}</td>
			</tr>
			</table>
		</td>
		<td valign="top" align="right">
			<table cellpadding="0" cellspacing="0" border="0">
			<tr>
				<td valign="top" style="font-family: Tahoma,Arial, Verdana,Tahoma; font-size:11px">
					<div align="center" style="font-size:22px; font-family: Tahoma,Arial; text-transform: uppercase;" nowrap="nowrap"><b>Po Quote </b></div>
					<p><b>{$lang.order}:</b>  #{$order_info.order_id} <br />					    
					    <b>{$lang.status}:</b>  {include file="orders/order_status.tpl" status=$order_info.status display="view"}<br />					    
					  <b>{$lang.date}:</b>  {$order_info.timestamp|date_format:"`$settings.Appearance.date_format`, `$settings.Appearance.time_format`"}<br />					
					  <b>{$lang.payment_method}:</b>  {$order_info.payment_method.payment}<br />
					  <b>{$lang.tracking_number}:</b>  <a href=/"http://wwwapps.ups.com/WebTracking/processRequest?HTMLVersion=5.0&Requester=NES&AgreeToTermsAndConditions=yes&loc=en_US&tracknum={$order_info.tracking_number}>{$order_info.tracking_number}</a><br />
					  {if $order_info.shipping} <b>{$lang.shipping_method}:</b>  {$order_info.shipping}<br />
					  {/if} </p></td>
			</tr>
			</table>
		</td>
	</tr>
	</table>
	<p></p><br />
	{* /Invoice header *}

	{* Customer info *}

<table cellpadding="4" cellspacing="0" border="0" width="100%">
<tr>
	<td valign="top" width="50%">
		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr>
			<td colspan="2" class="form-title" style="padding-bottom:2px">{$lang.personal_information}<div style="border: solid #444444 0px;border-bottom-width: 1px;padding-top:2px"></div></td>
		</tr>
		{if $order_info.title}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.title}: </td>
			<td>{$order_info.title_descr}</td>
		</tr>
		{/if}
		{if $order_info.firstname}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.first_name}: </td>
			<td >{$order_info.firstname}</td>
		</tr>
		{/if}
		{if $order_info.lastname}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.last_name}: </td>
			<td >{$order_info.lastname}</td>
		</tr>
		{/if}
		{if $order_info.company}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.company}: </td>
			<td>{$order_info.company}</td>
		</tr>
		{/if}
		</table>
	</td>
	<td width="1%"> </td>
	<td valign="top" width="49%">
		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr>
			<td colspan="2" class="form-title" style="padding-bottom:2px">{$lang.contact_information}<div style="border: solid #444444 0px;border-bottom-width: 1px;padding-top:2px"></div></td>
		</tr>
		{if $order_info.phone}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.phone}: </td>
			<td>{$order_info.phone}</td>
		</tr>
		{/if}
		{if $order_info.email}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.email}: </td>
			<td>{$order_info.email}</td>
		</tr>
		{/if}
		{if $order_info.fax}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.fax}: </td>
			<td>{$order_info.fax}</td>
		</tr>
		{/if}
		{if $order_info.url}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.web_site}: </td>
			<td>{$order_info.url}</td>
		</tr>
		{/if}
		</table>
	</td>
</tr>
<tr>
	<td><br style="font-size:1px"></td>
	<td><br style="font-size:1px"></td>
	<td><br style="font-size:1px"></td>
</tr>
<tr>
	<td valign="top">
		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr>
			<td colspan="4" class="form-title" style="padding-bottom:2px">{$lang.billing_address}<div style="border: solid #444444 0px;border-bottom-width: 1px;padding-top:2px"></div></td>
		</tr>
		{if $order_info.b_title}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.title}: </td>
			<td>{$order_info.b_title_descr}</td>
		</tr>
		{/if}
		{if $order_info.b_firstname}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.first_name}: </td>
			<td>{$order_info.b_firstname}</td>
		</tr>
		{/if}
		{if $order_info.b_lastname}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.last_name}: </td>
			<td>{$order_info.b_lastname}</td>
		</tr>
		{/if}
		{if $order_info.b_address}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.address}: </td>
			<td>{$order_info.b_address}</td>
		</tr>
		{/if}
		{if $order_info.b_address_2}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.address_2}: </td>
			<td>{$order_info.b_address_2}</td>
		</tr>
		{/if}
		{if $order_info.b_city}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.city}: </td>
			<td>{$order_info.b_city}</td>
		</tr>
		{/if}
		{if $order_info.b_state}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.state}: </td> 
			<td>{$order_info.b_state_descr}</td>
		</tr>
		{/if}
		{if $order_info.b_country}
		<tr valign="middle">
			<td class="form-field-caption" nowrap="nowrap">{$lang.country}: </td>
			<td>{$order_info.b_country_descr}</td>
		</tr>
		{/if}
		{if $order_info.b_zipcode}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.zip_postal_code}: </td>
			<td>{$order_info.b_zipcode}</td>
		</tr>
		{/if}
		</table>
	</td>
	<td> </td>
	<td valign="top">
		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr>
			<td colspan="4" class="form-title" style="padding-bottom:2px">{$lang.shipping_address}<div style="border: solid #444444 0px;border-bottom-width: 1px;padding-top:2px"></div></td>
		</tr>
		{if $order_info.s_title}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.title}: </td>
			<td>{$order_info.s_title_descr}</td>
		</tr>
		{/if}
		{if $order_info.s_firstname}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.first_name}: </td>
			<td>{$order_info.s_firstname}</td>
		</tr>
		{/if}
		{if $order_info.s_lastname}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.last_name}: </td>
			<td>{$order_info.s_lastname}</td>
		</tr>
		{/if}
		{if $order_info.s_address}
		<tr>
			<td class="form-field-caption" width="30%" nowrap="nowrap">{$lang.address}: </td>
			<td>{$order_info.s_address}</td>
		</tr>
		{/if}
		{if $order_info.s_address_2}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.address_2}: </td>
			<td>{$order_info.s_address_2}</td>
		</tr>
		{/if}
		{if $order_info.s_city}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.city}: </td>
			<td>{$order_info.s_city}</td>
		</tr>
		{/if}
		{if $order_info.s_state}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.state}: </td> 
			<td>{$order_info.s_state_descr}</td>
		</tr>
		{/if}
		{if $order_info.s_country}
		<tr valign="middle">
			<td class="form-field-caption" nowrap="nowrap">{$lang.country}: </td>
			<td>{$order_info.s_country_descr}</td>
		</tr>
		{/if}
		{if $order_info.s_zipcode}
		<tr>
			<td class="form-field-caption" nowrap="nowrap">{$lang.zip_postal_code}: </td>
			<td>{$order_info.s_zipcode}</td>
		</tr>
		{/if}
		</table>
	</td>
</tr>
</table>

<p></p><br />
	{* /Customer info *}

	{* Ordered products *}
	<table cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
	<td valign="top">
	<table cellpadding="2" cellspacing="1" border="0" width="100%" bgcolor="#000000">
	<tr>
		<td width="10%" align="center" bgcolor="#dddddd"><b>{$lang.sku}</b></td>
		<td width="50%" bgcolor="#dddddd"><b>{$lang.product}</b></td>
		<td width="10%" bgcolor="#dddddd" nowrap="nowrap"><b>{$lang.options}</b></td>
		<td width="10%" align="center" bgcolor="#dddddd"><b>{$lang.amount}</b></td>
		<td width="10%" align="center" bgcolor="#dddddd" nowrap="nowrap"><b>{$lang.unit_price}</b></td>
		{if $order_info.use_product_discount}
		<td width="10%" align="center" bgcolor="#dddddd"><b>{$lang.discount}</b></td>
		{/if}
		<td width="10%" align="center" bgcolor="#dddddd"><b>{$lang.subtotal}</b></td>
	</tr>
	{foreach from=$order_info.items item="oi"}
	<tr>
		<td bgcolor="#ffffff">{$oi.product_code|default:" "}</td>
		<td bgcolor="#ffffff">{$oi.product}</td>
		<td bgcolor="#ffffff">{include file="common_templates/options_info.tpl" product_options=$oi.extra.product_options}</td>
		<td bgcolor="#ffffff" align="center">{$oi.amount}</td>
		<td bgcolor="#ffffff" align="right">{include file="common_templates/price.tpl" value=$oi.price}</td>
		{if $order_info.use_product_discount}
		<td bgcolor="#ffffff" align="right">{if $oi.extra.discount|floatval}{include file="common_templates/price.tpl" value=$oi.extra.discount}{else} {/if}</td>
		{/if}
		{math equation="amount * (unit_price - discount)" amount=$oi.amount|default:"1" unit_price=$oi.price|default:"0" discount=$oi.extra.discount|default:"0" assign="oi_total"}
		<td align="right" bgcolor="#ffffff"><b>{include file="common_templates/price.tpl" value=$oi_total}</b> </td>
	</tr>
	{/foreach}
	</table>
	</td>
	</tr>
	</table>
	{* /Ordered products *}

	{* Order totals *}
	<div align="right">
	<table>
	<tr>
		<td align="right" nowrap="nowrap"><b>{$lang.subtotal}:</b> </td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.subtotal}</td>
	</tr>
	{if $order_info.discount|floatval}
	<tr>
		<td nowrap align="right"><b>{$lang.discount}:</b> </td>
		<td nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.discount}</td>
	</tr>
	{/if}
	{if $order_info.discount_coupon}
	{foreach from=$order_info.discount_coupon item="coupon" key="key"}
	{if $order_info.shipping_coupon != $key}
	<tr>
		<td  align="right" nowrap="nowrap"><b>{$lang.discount_coupon}</b> {$key} ({include file="common_templates/price.tpl" value=$coupon})<b>: </b></td>
		<td nowrap="nowrap">{include file="common_templates/price.tpl" value=$coupon}</td>
	</tr>
	{/if}
	{/foreach}
	{/if}
	{if ($order_info.discount_total|floatval)}
	<tr>
		<td align="right" nowrap="nowrap"><b>{$lang.discounted_subtotal}:</b> </td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.discounted_subtotal}</td>
	</tr>
	{/if}
	{if $order_info.taxes}
	{foreach from=$order_info.taxes item=tax_data}
	<tr>
		<td align="right" nowrap="nowrap"><b>{if $tax_data.price_includes_tax == 'Y'}{$lang.including_tax}{else}{$lang.tax}{/if} {$tax_data.description} ({include file="common_templates/price.tpl" value=$tax_data.rate_value number_type=$tax_data.rate_type}): </td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$tax_data.tax_subtotal}</td>
	</tr>
	{if $tax_data.regnumber}
	<tr>
		<td align="right" nowrap="nowrap">{$lang.registration_number}: </td>
		<td align="right" nowrap="nowrap">{$tax_data.regnumber}</td>
	</tr>
	{/if}
	{/foreach}
	<tr>
		<td align="right" nowrap="nowrap"><b>{$lang.taxed_subtotal}:</b> </td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.taxed_subtotal}</td>
	</tr>
	{/if}
	{if $order_info.shipping}
{*	<tr>
		<td nowrap align="right"><b>{$lang.shipping}:</b> </td>
		<td nowrap align="right">{$order_info.shipping}</td>
	</tr>*}
	<tr>
		<td align="right" nowrap="nowrap"><b>{$lang.shipping_cost}:</b> </td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.shipping_cost}</td>
	</tr>
	{if $order_info.shipping_coupon}
	{assign var="key" value=$order_info.shipping_coupon}
	<tr>
		<td align="right" nowrap="nowrap">
			<b>{$lang.discount_coupon}</b> {$key} ({$lang.free_shipping})<b>:</b></td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.discount_coupon.$key}</td>
	</tr>
	{/if}
	{/if}
	<tr>
		<td colspan="2"><div style="border: solid #444444 0px;border-bottom-width: 2px;padding-top:2px"><img src="{$images_dir}/spacer.gif" width="1" height="1" border="0" alt="" /></div></td>
	</tr>
	<tr>
		<td align="right" nowrap="nowrap"><b>{$lang.total_cost}:</b> </td>
		<td align="right" nowrap="nowrap">{include file="common_templates/price.tpl" value=$order_info.total}</td>
	</tr>
	</table><br />
	</div>
	{* /Order totals *}

			{if $order_info.notes}
			<p align="left">
			<b>{$lang.notes}:</b><br />
			{$order_info.notes|nl2br}
			</p>
			{/if}

			</td>
		</tr>
		</table>

	</td>
	<td>
		<img src="{$images_dir}/spacer.gif" width="1" height="1" border="0" alt="" /></td>
</tr>
</table>

{if $content == 'invoice'}
<br />
<table cellpadding="0" cellspacing="0" border="0" width="620" align="center">
<tr>
	<td>
		{include file="buttons/continue_shopping.tpl" but_href=$continue_url|default:$index_script but_arrow="on" skin_area="customer"}</td>
	<td align="right">
		{include file="buttons/button_popup.tpl" but_text=$lang.print_invoice but_href="`$index_script`?`$target_name`=orders&`$mode_name`=print_invoice&order_id=`$order_info.order_id`" width="800" height="600"  skin_area="customer"}</td>
</tr>
</table>	
{/if}

{/if}

In Topic: Tracking Numbers

16 June 2006 - 02:15 PM

Here is a image of what the invoice looks like with the tracking code