Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Date of Purchase on Invoice


Guest

Recommended Posts

Is there a way to have the date of purchase show up on the invoice?

 

When we look at our order page, it does list the date of purchase, but when you print off an invoice it doesn't include the date - and it's a pain to have to handwrite it on each one for our records.....

 

If anybody can shed some light on this - thanks!!

Link to comment
Share on other sites

Is there a way to have the date of purchase show up on the invoice?

 

When we look at our order page, it does list the date of purchase, but when you print off an invoice it doesn't include the date - and it's a pain to have to handwrite it on each one for our records.....

 

If anybody can shed some light on this - thanks!!

Very easy, just edit your invoice.php file. (located in admin/invoice.php)

 

Put this piece of code where you'd like the date to be displayed:

<?php echo $order->info['date_purchased']; ?>

 

If anyone knows how to display the shipping method seperately on the invoice i'd be grateful? (<?php echo $order->info['shipping_method']; ?> doesn't work)

 

Regards,

Lester

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...