ecshop如何將訂單批量導(dǎo)出
ecshop 2.73 + 訂單導(dǎo)出為excel功能
========================================================
一、功能介紹
1、本插件能導(dǎo)出ecshop訂單到excel文件中,導(dǎo)出時(shí)可以按訂單編號(hào),收貨人,訂單狀態(tài)進(jìn)行搜索
2、本插件僅修改原程序中的:admin/templates/order_list.htm文件 (您也可以自行修改此文件)
二、文件說明
1、導(dǎo)出Excel處理程序:plugins/order_to_excel/index.php
2、后臺(tái)訂單列表模板:admin/templates/order_list.htm
三、安裝方法
1、備份:admin/templates/order_list.htm 文件
2、將下面下載的插件文件傳至網(wǎng)站更目錄即可
四、自行安裝
1、打開admin/templates/order_list.htm 文件
2、找到:<a href="order.php?act=list&composite_status={$cs_await_ship}">{$lang.cs.$cs_await_ship}</a>
在后面加一行:<a href="javascript:;" onclick="order_to_excel()">導(dǎo)出excel</a>
3、在該頁面尾部,</script>之前添加JS處理函數(shù):
function order_to_excel() { var order_sn = document.getElementById('order_sn').value; var consignee = document.getElementById('consignee').value; var status = document.getElementById('status').value; window.location.href='../plugins/order_to_excel/index.php?order_sn='+order_sn+'&consignee='+consignee+'&status='+status; }
下載地址:ECshop訂單批量導(dǎo)出插件UTF-8下載