
Originally Posted by
Ajeh
See if adding this below the row works for you:
Code:
<tr>
<td class="dataTableContent" colspan="2"> </td>
<td class="dataTableContent" colspan="6">
<?php
$order = new order($orders->fields['orders_id']);
for ($i=0; $i<sizeof($order->products); $i++) {
echo $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'];
if (sizeof($order->products[$i]['attributes']) > 0) {
for ($j=0; $j<sizeof($order->products[$i]['attributes']); $j++) {
echo ' <i> - ' . $order->products[$i]['attributes'][$j]['option'] . ': ' . nl2br(zen_output_string_protected($order->products[$i]['attributes'][$j]['value'])) . '</i></nobr>';
}
}
if ($i > MAX_DISPLAY_RESULTS_ORDERS_DETAILS_LISTING and MAX_DISPLAY_RESULTS_ORDERS_DETAILS_LISTING != 0) {
echo TEXT_MORE;
break;
}
echo '<br/>';
}
?>
</td>
</tr>
Outstanding! Thank you so much, Linda! 
Just needed a little formatting for your code, and it worked like a charm. I removed the attribute code, as I have 3-4 attributes defined, but just needed the "qty & name".
I just enclosed within the existing <td> to keep the formatting straight!
Code:
<td class="dataTableContent"><?php echo '<a href="' . zen_href_link(FILENAME_CUSTOMERS, 'cID=' . $orders->fields['customers_id'], 'NONSSL') . '">' . zen_image(DIR_WS_ICONS . 'preview.gif', ICON_PREVIEW . ' ' . TABLE_HEADING_CUSTOMERS) . '</a> ' . $orders->fields['customers_name'] . ($orders->fields['customers_company'] != '' ? '<br />' . $orders->fields['customers_company'] : ''); ?>
<br />
<?php
$order = new order($orders->fields['orders_id'])
for ($i=0; $i<sizeof($order->products); $i++) {
echo $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'];
if ($i > MAX_DISPLAY_RESULTS_ORDERS_DETAILS_LISTING and MAX_DISPLAY_RESULTS_ORDERS_DETAILS_LISTING != 0) {
echo TEXT_MORE;
break;
}
echo '<br/>';
}
?>
</td>
The code in Blue above is all I needed to add!
Once again, thank you very much for your quick help!