yacpro13 Posted August 12, 2008 Posted August 12, 2008 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!
Guest Posted August 12, 2008 Posted August 12, 2008 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');
yacpro13 Posted August 12, 2008 Author Posted August 12, 2008 That worked out nicely. I wanted to have the text below the total amount, so I just placed the coding a little lower. Thanks for your help.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.