custom shipping label A4-A6
I wanted a custom shipping label:
- A4 folded twice to A6
- logo and sender address
- customer address
This is my solution for IE, haven't tested it for FF or Opera.
Code for the file: order_label_print.tpl
{*
$Id: order_label_print.tpl,v 1.6 2008/08/21 09:52:51 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
{$order.tracking}
<table style="position: relative; top: -20px" margin="0" cellspacing="0" cellpadding="0" border=0 >
<tr><td style="width: 1px;"><td><td>
<img src="../../images/logo-uw-kapper-vertikaal.gif"">
<tr><td style="width: 1px; height: 200px"><td rowspan="2" style="width: 330px"><div style="line-height: 25px; padding: 0px; margin: 0px; layout-flow : vertical-ideographic; height: 330px; width: 600px;">
<font face="arial" size="3">
<b>{$customer.s_firstname|default:$customer.firstn ame} {$customer.s_lastname|default:$customer.lastname}< /b>
{$customer.s_address}
{$customer.s_zipcode} {$customer.s_city}
{if $customer.s_country_text ne "Nederland"}
{$customer.s_country_text}
{/if}
</div>
<tr><td style="width: 1px; height: 130px"><td><div style="padding: 0px; margin: 0px; layout-flow : vertical-ideographic; height: 130px; text-align: left; ">
<font face="arial" size="1" ><i>Afz.</i>
Sjaak ten Velde uw Kapper
Trans 11
6811 HR Arnhem
026-442 43 25
</div>
<tr><td style="height: 500px;">
</table>
__________________
X-card gold 4.2.12
|