打开文件 upload\includes\lib_clips.php 找到函数function get_collection_goods
在代码$row['goods_name']);之后插入以下代码
/* 查询图片 */
$sql = "SELECT goods_thumb FROM " . $GLOBALS['ecs']->table('goods') . " WHERE goods_id=" . $row['goods_id'];
$goods_list[$row['goods_id']]['goods_thumb'] = $GLOBALS['db']->GetOne($sql); (责任编辑:好模板) |