Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Need numbered invoices...


Recommended Posts

Is there any way I can get numbered invoices printed out from OSCommerce?


As got told off by the VAT man as they werent!


On the order emails that come through they have an order number on there...

e.g. 'Order Number: 58'


Is there any way I can get that to display on the Inoivces? So it gets printed out?


Cheers In Advance.


Link to comment
Share on other sites

Cheers for that, I didnt use the contrib in the end, just had a look throught the files to see how they did it....


Basically just need to add.....

<?php echo $oID; ?>

where you want the order number to go.


So in my invoice.php file I now have the following....

<td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td>
<td class="pageHeading" align="right" valign="top">Invoice No. <?php echo $oID; ?></td>


The box in the table where I put the order number is usually where the logo goes, but I didnt bother having one on my invoices.


Hope this is of help to someone else.

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...