RE: How to change STORE_NAME_ADDRESS on my Invoice /Packing list
Ajeh <[email protected]> 9 Sep 2003 22:16:35 -0000
| Newsgroups | gmane.comp.web.oscommerce.features |
|---|---|
| Message-ID | <d12b1902b6f2100bcdfd40bc87564683@osCommerce-Forums> |
This message was sent from: Features
http://forums.oscommerce.com/viewtopic.php?p=227020#227020
----------------------------------------------------------------
As long as you have that, that is the Text portion.
Now edit /admin/invoice.php and modify this area of code:
[code]<!-- body_text //-->
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
<td><table border="0" width="100%" cellspacing="0" cellpadding="0">
<?php // BOF: WebMakers.com Added: Show Image on Invoice ?>
<tr>
<td colspan="2"><?php echo tep_image(DIR_WS_CATALOG_IMAGES . 'oscommerce_sec_gv.gif'); ?>
</tr>
<?php // EOF: WebMakers.com Added: Show Image on Invoice ?>
<tr>
<td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
<td class="pageHeading" align="right"><?php echo tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'osCommerce', '204', '50'); ?></td>
</tr>
</table></td>
</tr>
[/code]
That will place your image above the text.
Note: this is calling the image from /catalog/images