在/includes/lib_transaction.php找到1
2
3
4
5
6$arr\[\] = array(
'order\_id' => $row\['order\_id'\],
'order\_sn' => $row\['order\_sn'\],
'order\_time' => local\_date($GLOBALS\['\_CFG'\]\['time\_format'\], $row\['add\_time'\]), 'order\_status' => $row\['order\_status'\],
'total\_fee' => price\_format($row\['total\_fee'\], false),
'handler' => $row\['handler'\]);
修改为1
2
3
4
5
6$arr\[\] = array(
'order\_id' => $row\['order\_id'\],
'order\_sn' => $row\['order\_sn'\],
'order\_time' => local\_date($GLOBALS\['\_CFG'\]\['time\_format'\], $row\['add\_time'\]), 'order\_status' => $row\['order\_status'\],
'total\_fee' => price\_format($row\['total\_fee'\], false),
'handler' => $row\['handler'\], 'thumb' => $row\['thumb'\]);
并在其前面添加1
$row\['thumb'\] =$GLOBALS\['db'\] ->getOne("select goods\_thumb from". $GLOBALS\['ecs'\]->table("goods"). "where goods\_id =(select min(goods\_id) from". $GLOBALS\['ecs'\]->table("order\_goods"). "where order\_id=".$row\['order\_id'\].")");
在themes/default/user_transaction.dwt中 找到1
<td bgcolor="#ffffff">{$lang.order\_addtime}</td>
在其前面添加1
<td bgcolor="#ffffff">缩略图</td>
再找到1
<td align="center" bgcolor="#ffffff">{$item.order\_time}</td>
在其前面添加1
<td align=center bgcolor="#ffffff"><img src="{$item.thumb}" class="img_sstb"/></td>
本文链接: https://erik.xyz/2014/10/30/zai-ecshop-yong-hu-zhong-xin-wo-de-ding-dan-lie-biao-zhong-xian-shi-shang-pin-suo-lve-tu/
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!