Daleh Posted November 12, 2010 Posted November 12, 2010 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
Recommended Posts
Archived
This topic is now archived and is closed to further replies.