A5下载 - 努力做内容最丰富最安全的下载站!

A5站长下载站

当前位置:A5下载 > 源码技巧 > Ecshop > 修改ecshop让调用的浏览历史修改成只图或者其他

修改ecshop让调用的浏览历史修改成只图或者其他

时间:2015-09-10 15:50作者:fang人气:42

今天小编给大家介绍一篇文章,叫做修改ecshop让调用的浏览历史修改成只图或者其他,分享给大家供大家参考。具体如下:

ecshop程序目录下 includeslib_insert.php 找到 调用浏览历史 这断函数,可以直接搜索下

核心代码:

$str.='<ul class="clearfix"><li class="goodsimg"><a href="'.$goods['url'].'" target="_blank"><img src="'.$goods['goods_thumb'].'" alt="'.$goods['goods_name'].'" class="B_blue" /></a></li><li><a href="'.$goods['url'].'" target="_blank" title="'.$goods['goods_name'].'">'.$goods['short_name'].'</a><br />'.$GLOBALS['_LANG']['shop_price'].'<font class="f1">'.$goods['shop_price'].'</font><br /></li></ul>';

比如只修改成有图,那么就是

$str.='<ul class="clearfix"><li class="goodsimg"><a href="'.$goods['url'].'" target="_blank"><img src="'.$goods['goods_thumb'].'" alt="'.$goods['goods_name'].'" class="B_blue" /></a></li></ul>';

比如只修改成有图有价格,不要标题,那么就是

$str.='<ul class="clearfix"><li class="goodsimg"><a href="'.$goods['url'].'" target="_blank"><img src="'.$goods['goods_thumb'].'" alt="'.$goods['goods_name'].'" class="B_blue" /></a></li><br />'.$GLOBALS['_LANG']['shop_price'].'<font class="f1">'.$goods['shop_price'].'</font><br /></li></ul>';

希望本文所述对大家的ecshop程序设计有所帮助

标签修改,ecshop,用的,浏览,历史,改成,或者,其他,今天

相关下载

查看所有评论+

网友评论

网友
您的评论需要经过审核才能显示

公众号