Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Print purchase order details on receipt?


LloydSwadling

Recommended Posts

Hi All,

 

I recently installed the Receipt v1.0 contribution and have it working fine. I am seeking the god-like capabilities of someone who is up to speed with the tep_functions to help me create a few lines of extra text on my receipt to show not only the payment method of 'Purchase Order', but also the actual account number and p/o number itself. Following is the php code to output the delivery address, and I'm wondering if it may be as simple as a tep_payment_format or something to drop the whole p/o info into one neat little box like tep_address_format does.

 

 

<tr class="infoBoxContents">

<td align="left"><BR><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, ' ', '<br>'); ?></td>

<td align="left"><br><?php echo $order->info['payment_method']; ?></td>

</tr>

 

This would be a very handy mod for the whole community, as most account customers use these references when deciding how soon to PAY US!!!!

 

Many Thanks, Best Wishes, Blessings etc

 

Lloyd Swadling

Workshop Direct

Australia

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...