Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding a few text line to the customer invoices


yacpro13

Recommended Posts

Hi,

So I'm looking to add a little sentence on the invoice that reminds customers to go back on the website and post their product reviews.

 

Just so we are clear, I am talking about the invoice we access through the admin.

I personally print this invoice and ship it with the bought items.

 

Approximately where do you think I should add the text in the coding?

 

Thank you!

Link to comment
Share on other sites

Depends on where you want it. Something like this would put it right under the payment method. Find in admin/invoice.php

	  <tr>
	<td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>
	<td class="main"><?php echo $order->info['payment_method']; ?></td>
  </tr>

Right after that add

	  <tr>
	<td colspan="2" class="main"><?php echo ENTRY_WRITE_A_REVIEW; ?></td>
  </tr>

Then in admin/includes/languages/english/invoice.php add

define('ENTRY_WRITE_A_REVIEW', 'Your text here');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...