首页 > 代码库 > Ecshop商品浏览历史样式修改方法

Ecshop商品浏览历史样式修改方法

想要修改ECSHOP的浏览历史样式,发现 history.lbi 中不能修改。


需要修改的文件:includes\lib_insert.php,找到函数:function insert_history(),下面的代码:

$str.=’<ul><li><a href=http://www.mamicode.com/”‘.$goods[‘url‘].’” target=”_blank”>

  • ’.$goods[‘short_name‘].’’.$GLOBALS[‘_LANG‘][‘shop_price‘].’’.$goods[‘shop_price‘].’
  • ’;上面的代码就是所对应的样式代码,修改即可。另外,调用的模板文件:history.lbi,中的:<div%20id=’history_list’> %20{insert%20name=’history’}</div>其中,id=”history_list”是“清空”操作的ID。

    from:%20Internet

    Ecshop商品浏览历史样式修改方法