Hi, I couldn't find anything on here my self but I thought I would share my solution to printing address labels with the order. This saves having to copy and paste the delivery address into another program to print address lables.
I have used the double integrated labels from priory direct:
http://www.priorydirect.co.uk/produc...ctid=419164340
Please bear in mind that I am not a programmer so some may see my solution as crude....
The labels are printed at the top of the invoice (i would prefer the bottom but again I am not a programmer).
I editied /admin/invoice.php and changed
Code:
<!-- body_text //-->
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading" align="left"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td>
<td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2"><?php echo zen_draw_separator(); ?></td>
</tr>
to
Code:
<!-- body_text //-->
<br><br><br><br><br>
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
</tr>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
</tr>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td > </td>
<td "class="main"><b>Return To:</b></td>
<td></td>
</tr>
<tr>
<td> </td>
<td>Returns<br>35 County House<br>Monkgate<br>York<br>North Yorkshire<br>YO31 7NS<br>United Kingdom</td>
<td></td>
</tr>
<tr>
<td><?php echo zen_draw_separator('pixel_trans.gif', '1', '5'); ?></td>
</tr>
</table></td>
<td valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td> </td>
<td class="main"><b><?php echo ENTRY_SHIP_TO; ?></b></td>
<td></td>
</tr>
<tr>
<td> </td>
<td class="main"><?php echo zen_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br>'); ?></td>
<td></td>
</tr></table>
</td></table>
<br><br>
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td class="pageHeading" align="left"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td>
<td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
</tr>
</table></td>
</tr>
<tr>
<td><table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td colspan="2"><?php echo zen_draw_separator(); ?></td>
</tr>
hope this helps and if anyone has a better solution I would love to know. Cheers,
John
Bookmarks