View Single Post
  #4  
Old 09-15-2009, 05:11 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Modifying invoice template

Part of order_data.tpl from 4.2.1
Code:
{* $Id: order_data.tpl,v 1.40 2008/11/26 13:16:26 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} <div {if $is_nomail eq 'Y'}class="invoice-products-title"{else}style="font-size: 14px; font-weight: bold; text-align: center"{/if}>{$lng.lbl_products_ordered}</div> <table {if $is_nomail eq 'Y'}cellspacing="1" class="invoice-products"{else}cellspacing="0" cellpadding="3" width="100%" border="1"{/if} summary="{$lng.lbl_products|escape}"> <tr> <th {if $is_nomail ne 'Y'}bgcolor="#cccccc"{/if}>No</th> <th {if $is_nomail eq 'Y'}class="invoice-sku-column"{else}width="60" bgcolor="#cccccc"{/if}>{$lng.lbl_sku}</th> <th {if $is_nomail ne 'Y'}bgcolor="#cccccc"{/if}>{$lng.lbl_product}</th> {if $order.extra.tax_info.display_cart_products_tax_rates eq "Y" and $_userinfo.tax_exempt ne "Y"} <th {if $is_nomail eq 'Y'}class="invoice-tax-column"{else}nowrap="nowrap" width="100" bgcolor="#cccccc"{/if}> {if $order.extra.tax_info.product_tax_name ne ""} {$order.extra.tax_info.product_tax_name} {else} {$lng.lbl_tax} {/if} </th> {/if} <th {if $is_nomail eq 'Y'}class="invoice-price-column"{else}nowrap="nowrap" width="100" bgcolor="#cccccc" align="center"{/if}>{$lng.lbl_item_price}</th> <th {if $is_nomail eq 'Y'}class="invoice-quantity-column"{else}width="60" bgcolor="#cccccc"{/if}>{$lng.lbl_quantity}</th> <th {if $is_nomail eq 'Y'}class="invoice-total-column"{else}width="60" bgcolor="#cccccc"{/if}>{$lng.lbl_total}</th> </tr> {foreach from=$products item=product name=count} <tr> <td>{$smarty.foreach.count.iteration}.</td> <td {if $is_nomail eq 'Y'}class="invoice-price-column"{else}align="center"{/if}>{$product.productcode}</td> <td {if $is_nomail eq 'Y'}class="invoice-product-column"{/if}> <span{if $is_nomail ne 'Y'} style="font-size: 11px;"{/if}>{$product.product}</span> {if $product.product_options ne '' && $active_modules.Product_Options} <table summary="{$lng.lbl_products_options|escape}"> <tr> <td {if $is_nomail ne 'Y'}valign="top"{/if}><strong>{$lng.lbl_options}:</strong></td> <td>{include file="modules/Product_Options/display_options.tpl" options=$product.product_options options_txt=$product.product_options_txt force_product_options_txt=$product.force_product_options_txt}</td>
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote