{
$goods_thumb = $GLOBALS['db']->getOne("SELECT `goods_thumb` FROM " . $GLOBALS['ecs']->table('goods') . " WHERE `goods_id`='{$row['goods_id']}'");
$row['goods_thumb'] = get_pc_url().'/'.get_image_path($row['goods_id'], $goods_thumb, true);
}替换一下$GLOBALS['_CFG']['show_goods_in_cart'] == "2" || $GLOBALS['_CFG']['show_goods_in_cart'] == "3")变成true就好了,话说这程序一个版本比一个版本垃圾,主要是php版本更新造成的,很多不兼容的地方只能屏蔽错误解决。。。
最佳答案