Ecshop后台订单列表 鼠标放在订单号上面,自动显示商品列表,非常方便;如果订购商品多的话,版面不够显示,影响操作。
ecshop模板堂分享一下,如何让ecshop商品列表更加美观。
直接修改admin/templates/order_goods_info.htm文件即可,直接修改成:
01
|
<table width="100%" cellpadding="3" cellspacing="1">
|
03
|
<td scope="col"><div align="center"><strong>{$lang.goods_name_brand}</strong></div></td>
|
04
|
<td scope="col"><div align="center"><strong>{$lang.goods_name}</strong></div></td>
|
05
|
<td scope="col"><div align="center"><strong>{$lang.goods_sn}</strong></div></td>
|
06
|
<td scope="col"><div align="center"><strong>{$lang.goods_price}</strong></div></td>
|
07
|
<td scope="col"><div align="center"><strong>{$lang.goods_number}</strong></div></td>
|
08
|
<td scope="col"><div align="center"><strong>{$lang.goods_attr}</strong></div></td>
|
09
|
<td scope="col"><div align="center"><strong>{$lang.storage}</strong></div></td>
|
10
|
<td scope="col"><div align="center"><strong>{$lang.subtotal}</strong></div></td>
|
12
|
{foreach from=$goods_list item=goods}
|
14
|
{if $goods.goods_id gt 0 && $goods.extension_code neq 'package_buy'}
|
15
|
<td align="center"><a href="../goods.php?id={$goods.goods_id}" target="_blank"><img src="{$goods.goods_thumb}" width="50" height="50"/></a></td>
|
16
|
<td align="center">{$goods.goods_name} {if $goods.brand_name}[ {$goods.brand_name} ]{/if}
|
17
|
{if $goods.is_gift}{if $goods.goods_price > 0}{$lang.remark_favourable}{else}{$lang.remark_gift}{/if}{/if}
|
18
|
{if $goods.parent_id > 0}{$lang.remark_fittings}{/if}</td>
|
20
|
<td align="center">{$goods.goods_name}{$lang.remark_package}</td>
|
22
|
<td align="center">{$goods.goods_sn}</td>
|
23
|
<td><div align="center">{$goods.formated_goods_price}</div></td>
|
24
|
<td><div align="center">{$goods.goods_number}
|
26
|
<td align="center">{$goods.goods_attr|nl2br}</td>
|
27
|
<td><div align="center">{$goods.storage}</div></td>
|
28
|
<td><div align="center">{$goods.formated_subtotal}</div></td>
|
效果图: 下载,按编码覆盖,覆盖前请做好备份。