方法一:
找到admin/order.php 大约491行
for ($i=0, $n=sizeof($order->products); $i<$n; $i++) {
与
if (isset($order->products[$i]['attributes'])
之间的内容替换为
echo ' <tr class="dataTableRow">' . " " . ' <td class="dataTableContent" valign="top" align="right"><a href="' .zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $order->products[$i]['id']) . '"target="_blank">'. zen_image(DIR_WS_CATALOG.DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']),$order->products[$i]['name'],'60','60','"align="top"') . '</a>' . $order->products[$i]['qty'] . ' x</td>' . " " . ' <td class="dataTableContent" valign="top"><a href="' .zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $order->products[$i]['id']) . '"target="_blank">' . $order->products[$i]['name'] .'</a>';
方法二:
将大约482行
<td class="dataTableHeadingContent" colspan="2"><?php echo TABLE_HEADING_PRODUCTS; ?></td>
后面加上
<td class="dataTableHeadingContent">Products Images</td>
将大约493行
' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . " " . ' <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
替换为
' <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . " " . ' <td class="dataTableContent" valign="top"><a href="' .zen_catalog_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $order->products[$i]['id']) . ' "target="_blank">' . $order->products[$i]['name'] . "</a>". " " . ' <td class="dataTableContent" valign="top" width="90">'.zen_image(DIR_WS_CATALOG.DIR_WS_IMAGES . zen_get_products_image($order->products[$i]['id']),'','60','60') .'</td>';
将528行colspan="8"改为colspan="9"
<td align="right" colspan="9"><table border="0" cellspacing="0" cellpadding="2">
打完收工!