Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PO 1.4.1 Mod - Purchase Order # not showing on Invoice and Packing Slip


Recommended Posts

Posted

I installed the PO 1.4.1. mod, it works great, except I can not get it to print the PO number on the invoice or packing slip.

 

The credit card info prints fine, but not the PO #.

 

Any suggestions ?

 

Thanks.

 

Jamie.

 

Here is my code:

 

<tr>

<td><table border="0" cellspacing="0" cellpadding="2">

 

<tr>

 

<td class="main"><b><?php echo ENTRY_PAYMENT_METHOD; ?></b></td>

 

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

 

</tr>

 

<?php

 

if (tep_not_null($order->info['cc_type']) || tep_not_null($order->info['cc_owner']) || tep_not_null($order->info['cc_number'])) {

 

?>

 

<tr>

 

<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>

 

</tr>

 

<tr>

 

<td class="main"><?php echo ENTRY_CREDIT_CARD_TYPE; ?></td>

 

<td class="main"><?php echo $order->info['cc_type']; ?></td>

 

</tr>

 

<tr>

 

<td class="main"><?php echo ENTRY_CREDIT_CARD_OWNER; ?></td>

 

<td class="main"><?php echo $order->info['cc_owner']; ?></td>

 

</tr>

 

<tr>

 

<td class="main"><?php echo ENTRY_CREDIT_CARD_NUMBER; ?></td>

 

<td class="main"><?php echo $order->info['cc_number']; ?></td>

 

</tr>

 

<tr>

 

<td class="main"><?php echo ENTRY_CREDIT_CARD_EXPIRES; ?></td>

 

<td class="main"><?php echo $order->info['cc_expires']; ?></td>

 

</tr>

 

<?php

 

// purchaseorders_1_4 start

 

}

 

else if (tep_not_null($order->info['purchase_order_number']))

 

{

 

?>

 

<tr>

 

<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '10'); ?></td>

 

</tr>

 

<tr>

 

<td class="main"><?php echo ENTRY_PURCHASE_ORDER_NUMBER; ?></td>

 

<td class="main"><?php echo $order->info['purchase_order_number']; ?></td>

 

</tr>

 

<?php

 

// purchaseorders_1_4 end

 

}

 

?>

 

</table></td>

 

</tr>

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...