ECSHOP用户中心查看订单页面显示商品缩略图
2016-06-13 13:05 来源:www.chinab4c.com 作者:ecshop专家
用户中心 >> 我的订单 >> 查看订单详细,要如何加入商品缩略图呢?? 1、修改 includes/lib_order.php ,找到 order_goods 函数部分,大概在467行左右 将 $sql = "SELECT rec_id, goods_id, goods_name, goods_sn, market_price, goods_number, " ."goods_price, goods_attr, is_real, parent_id, is_gift, " ."goods_price * goods_number AS subtotal, extension_code " ."FROM " . $GLOBALS['ecs']->table('order_goods') ." WHERE order_id = '$order_id'"; 替换为 $sql = "SELECT og.rec_id, og.goods_id, og.goods_name, og.goods_sn, og.market_price, og.goods_number, " ."og.goods_price, og.goods_attr, og.is_real, og.parent_id, og.is_gift, " ."og.goods_price * og.goods_number AS subtotal, og.extension_code,g.goods_thumb " . "FROM " . $GLOBALS['ecs']->table('order_goods') . " AS og "." LEFT JOIN ". $GLOBALS['ecs']->table('goods') . " AS g on og.goods_id=g.goods_id " ." WHERE order_id = '$order_id'"; 2、修改 user_transaction.dwt 文件, 在
最近更新
常用插件
- ecshop二次开发售后维修卡
插件介绍: 本插件是用于专门从事电子,信息,软件等售后服务关键比...
- ecshop按分类筛选销售排行
ecshop按分类筛选销售排行...
- ecshop选择下单时间插件
ecshop选择下单时间插件主要是根据不同的下单配送要求,在ecshop购物车...
- ecshop供应商插件免费下载
ecshop供应商插件免费下载...
- ecshop快递发货单打印商品
ecshop快递发货单打印商品信息,大家都知道ecshop快递单打印的时候,只能...