下面是修改方法,很简单的,只需要修改一行代码即可。
打开 includes/lib_insert.php,找到 insert_history() 函数部分
将
" WHERE $where AND is_on_sale = 1 AND is_alone_sale = 1 AND is_delete = 0";
修改为
" WHERE $where AND is_on_sale = 1 AND is_alone_sale = 1 AND is_delete = 0 order by INSTR("".$_COOKIE["ECS"]["history"]."",goods_id)";
[商之翼ecshop]ecshop浏览历史商品按照浏览先后进行排序
http://m.bbyears.com/jiaocheng/105131.html
推荐访问: