Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product description to invoice


Daleh

Recommended Posts

Posted

Hi Guys, I made a site about 3 years ago and now the customer decided she wants to have the product description on the invoice. Any ideas how to do it? Im by no means a master with php and its been 3 years since Ive looked at the site so Im kind of stumped. Is it on the invoice.php page in this section?

 

<?php

for ($i = 0, $n = sizeof($order->products); $i < $n; $i++) {

echo ' <tr class="dataTableRow">' . "\n" .

' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .

' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'] ;

 

Im assuming I can add something like

 

. $order->products[$i]['description']

 

but I really have no idea lol. I've been looking at it for ages and its probably something easy but I just cant grasp it.

 

 

Thanks

 

 

Dale

Archived

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

×
×
  • Create New...