在ecshop收藏夹添加图片

2016-09-07 22:03 来源:www.chinab4c.com 作者:ecshop专家

 打开文件 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);
(责任编辑:chinab4c)