ECSHOP团购页详情调用商品页详细信

2016-06-13 13:05 来源:www.chinab4c.com 作者:ecshop专家

如果你想把ECSHOP团购页面的团购信息改成自动调用商品的详细信息,可以按照以下简单步骤修改 打开lib_goods.php找到group_buy_info函数修改(1024行左右加):      $group_buy['goods_desc'] = $GLOBALS['db']->getOne(“select goods_desc from ”.$GLOBALS['ecs']->table(‘goods’).“ where goods_id=”.$group_buy['goods_id']);   然后打开ECSHOP模版文件group_buy_goods.dwt 把 {$group_buy.group_buy_desc}改成{$group_buy.goods_desc}就可以了