ecshop用户中心我的订单列表显示商品缩略图 您所在的位置:网站首页 ecshop开发中心 ecshop用户中心我的订单列表显示商品缩略图

ecshop用户中心我的订单列表显示商品缩略图

2024-07-04 20:40| 来源: 网络整理| 查看: 265

之前ECSHOP开发中心(www.68ecshop.com)教程发布过如何在订单详情页面查看缩略图,在订单详情页面查看缩略图的链接地址是http://www.68ecshop.com/article-756.html

下面的方法是在ecshop用户中心我的订单列表中显示商品缩略图

1)、

首先我们来打开 /includes/lib_transaction.php 文件

找到 get_user_orders 函数部分,

将下面代码

$arr[] = array('order_id'       => $row['order_id'],

'order_sn'       => $row['order_sn'],

'order_time'     => local_date($GLOBALS['_CFG']['time_format'], $row['add_time']),

'order_status'   => $row['order_status'],

'total_fee'      => price_format($row['total_fee'], false),

'handler'        => $row['handler'],

修改为:

$row['thumb'] =$GLOBALS['db'] ->getOne("select goods_thumb from".

$GLOBALS['ecs']->table("goods").



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有