首 页  >>  E商学院  >>  zencart百科  >>  ZenCart后台订单详细页显示产品图片和链接

ZenCart后台订单详细页显示产品图片和链接

修改admin/order.php大约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>' . "\n" .
           '            <td class="dataTableContent" valign="top">' . $order->products[$i]['name'];
替换为

'            <td class="dataTableContent" valign="top" align="right">' . $order->products[$i]['qty'] . ' x</td>' . "\n" .
           '            <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>". "\n" .
           '            <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″改为9

<td align="right" colspan="9"><table border="0" cellspacing="0" cellpadding="2">


效果图:


点击次数:2873  发布日期:2014-11-26  【打印此页】  【关闭