当前位置:首页 > 代码 > 正文

ecshop快递单模板代码(淘宝快递单模板)[20240423更新]

admin 发布:2024-04-23 04:04 105


今天给各位分享ecshop快递单模板代码的知识,其中也会对淘宝快递单模板进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!

本文目录一览:

shopex商城系统如何编辑快递单(物流单据)模版?求解

下载与导入快递单模板

如果自己对内置快递单模板进行过修正或其它编辑,可以把此模板下载进行备份,或上传到其它shopex网站使用;同时也可以上传其它shopex网站提供的快递单模板,在本站中使用。

下载:在要下载的快递单模板上点击下载模板即可下载的文件为 . dtp格式的文件,请认真保存。

导入:点击导入模板,然后选择 . dtp格式的快递单模板即可

浏览快递单模板,上传即可

编辑快递单模板

如果对快递单模板的默认内容不满意,可以随时进行调整

在相应快递单模板上点击编辑会弹出订单的编辑界面

其中背景图可以随时删除、更换、移动!

发货信息及收货信息区内容均可修改显示位置

打印项内容也可根据需要另外添加

添加相似快递单模板如果新添加的快递单模板与内置的某个模板比较相似

,也可以用添加相似单据的方式快速添加

在相似的模板上点击

添加相似单据

注意上传的图片最好与内置快递单的图片尺寸相符

快递单的图片保存在服务器的home\upload 目录下。

添加新快递单模板

添加新快递单模板的方式与上面相似

点击添加模板

会提示先上传新单据的图片

图片最好用分辨率高的扫描仪进行处理,效果会更好。

图片上传结束后,根据图片中内容项位置添加相应打印项就可以

至此,您应该可以对内置的快递单进行编辑,并可添加新的快递单单据!

求快递单的页面HTML代码,各个快递的!

!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""

html xmlns=""

head

meta http-equiv="Content-Type" content="text/html; charset=utf-8" /

titlenoteform/title

script src=""/script

script

$(function(){

 $("div").click(function(){

$(this).addClass("select");        

    });

})

/script

style

!--

body{

    background-image:url(wood-bg2.jpg);

}

.exlist{

    background-color:#F9EE70;

    margin:30px auto;

    padding:5px;

    width:680px;

    min-height:200px;

    height:auto;

    font-family:"微软雅黑";

    -webkit-box-shadow:4px 4px 5px #333;/*webkit*/ 

    -moz-box-shadow:4px 4px 5px #333;/*firefox*/     

    box-shadow:4px 4px 5px #333;/*opera或ie9*/ 

}

#title{

    width:200px;

    margin:20px auto;

}

#title legend{

    font-size:26px;

}

div.exlist_title{

    background-color:#F9EE70;

    width:680px;

    height:20px;

}

div.exlist_title img{

    float:right;

    margin:-15px 10px;

}

/*-----------form-----------*/

fieldset{

    width:90%;

    border:1px dashed #666;

    margin:40px auto;

}

 

legend{

    background-color:#F9EE70;

    height:120px;

    height:30px;

    color:#630;

    font-weight:bolder;

    font-size:20px;

    line-height:30px;

    margin:-20px 10px 10px;

    padding:0 10px;

}

div.row{

    margin:10px;

    padding:5px;

}

 

div.row label{

    height:20px;

    font-size:16px;

    line-height:20px;

    margin:0 10px;

}

 

input.txt{

    background-color:#F9EE70;

    color:#333;

    width:150px;

    height:20px;

    margin:0 10px;

    font-size:16px;

    line-height:20px;

    border:none;

    border-bottom:1px solid #565656;

}

 

input.txt:focus{

    color:#333;

    background-color: #FF0;

    border-bottom:1px solid #F00;

}

 

select{

    width:100px;

}

option{

    text-align:center;

}

input.btn{

    width:50px;

    height:20px;

    color:#000008B;

    background-color: transparent;

    border:0;

    padding:0;

}

--

/style

/head

body

div class="exlist"

    div class="exlist_title"img src="paper-clip.png" //div

       div id="title"legend快递运单信息/legend/div

       form method="post" action=""

           fieldset

           legend收件信息/legend

                   div class="row"

                   label1. 收货人:/label

                   input style="width:100px" class="txt" type="text" /

                   label2. 目的地:/label

                   select

                   option北京/option

                   option上海/option

                   option武汉/option

                   option乌鲁木齐/option

                   /select

                   /div

                   div class="row"

                   label3. 联系电话:/labelinput class="txt" type="text" /

                   /div

                   div class="row"

                   label4. 详细地址:/labelinput class="txt" style="width:400px"  type="text" /

                   /div

           /fieldset

           fieldset

           legend发件信息/legend

                   div class="row"

                   label1. 发货人:/label

                   input style="width:100px" class="txt" type="text" /

                   label2. 始发地:/label

                   select

                   option北京/option

                   option上海/option

                   option武汉/option

                   option乌鲁木齐/option

                   /select

                   /div

                   div class="row"

                   label3. 联系电话:/labelinput class="txt" type="text" /

                   /div

                   div class="row"

                   label4. 详细地址:/labelinput class="txt" style="width:400px"  type="text" /

                   /div

           /fieldset

           fieldset

           legend货物信息/legend

                   div class="row"

                   label1. 数量:/labelinput class="txt" style="width:30px" maxlength="2" type="text" /

                   label(1-99件)/label

                   label2. 体积:/labelinput class="txt" style="width:30px" maxlength="3" type="text" /

                   label3. 重量:/labelinput class="txt" style="width:30px" maxlength="3" type="text" /

                   label(Kg)/label

                   /div

                   div class="row"

                   label4. 运输方式:/label

                   select

                   option航运/option

                   option火车/option

                   option汽车/option

                   option轮船/option

                   /select

                   /div

             div class="row"

               label5. 付款方式:/label

                   p

                     labelinput type="radio" name="pay" value="单选"/现金付款/label

                     labelinput type="radio" name="pay" value="单选"/收件人付款/label

                     labelinput type="radio" name="pay" value="单选"/第三方付款/label

                   /p

               /div

           /fieldset

        /form

/div

/body

/html

快递单..

ecshop 怎么不能查询物流订单号

这个修改下SN生成代码就好了 lib_order.php

/**

* 得到新订单号

* @return string

*/

function get_order_sn()

{

/* 选择一个随机的方案 */

mt_srand((double) microtime() * 1000000);

return date('Ymd') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT);

}

复制代码

修改

return date('Ymd') . str_pad(mt_rand(1, 99999), 5, '0', STR_PAD_LEFT);

return date('Ymd') .'-'. str_pad(mt_rand(1, 99), 2, '0', STR_PAD_LEFT);

原理我就不讲了 太简单了 说下重号这 EC在添加订单时用的是DO WHILE 如果插入重复会从新生成sn

求中通快递单打印模版

可以Excel做快递模板。

1、原理:“数据源表”中有N条数据,需要将指定的数据“逐条”依次放入到“模板表”中的指定位置(快递面单要填写的位置)

2、方法1:使用VLOOKUP()函数,该函数有四个参数,必须搞清楚VLOOKUP()函数的用法才能很有的运用到模板的制作当中;数据源表”的第一列为序列号列,相当于索引号,为调取数据定位;在“模板表”中特定单元格输入数字(该单元格在打印区域外)来定位“数据源表”的序列调取对应数据。

3、 方法2:VBA宏法(更方便),用VBA获取相关数据在“数据源表”中的行号和列号,调取“数据源表”中的数据到“模版表”相应位置。

使用vba宏的中通快递单打印模板:

ecshop怎么添加配送方式

一.打开includesmodulesshipping文件夹,把sto_express.php复制多一份,重名为tt_express.php;

二.打开tt_express.php,ctrl+F调出“查找替换框”将所有“sto_express.php”替换成“tt_express.php” ,所有“申通快递”替换成“天天快递”;

三.打开languageszh_cnshipping文件夹,把sto_express.php复制多一份,重命名为tt_express.php;

四.再将打开我们重命名好的tt_express.php,ctrl+F调出“查找替换框”将所有 “sto_express.php”替换成“tt_express.php” ,所有“申通快递”替换成“天天快递”(说明:步骤3.4是创建中文语言包,如果需要创建英文和繁体的语言包,请自行打开languagesen_us shipping和languageszh_twshipping进行步骤3.4的操作)

五.Includes/inc_constant.php第237行加上相应如“|tt_express”

==原程序为:

/* 配送方式 */

define('SHIP_LIST', 'cac|city_express|ems|flat|fpd|post_express|post_mail|presswork|sf_express|sto_express|yto|zto');

==修改后程序为:

define('SHIP_LIST', 'cac|city_express|ems|flat|fpd|post_express|post_mail|presswork|sf_express|sto_express| tt_express|yto|zto');

六. admintemplatesshipping_area_info.ht第12行加上相应如“|| $shipping_area.shipping_code =='tt_express'”

==原程序为:

{if $shipping_area.shipping_code =='ems' || $shipping_area.shipping_code =='yto' || $shipping_area.shipping_code =='zto' || $shipping_area.shipping_code =='sto_express' || $shipping_area.shipping_code =='post_mail' || $shipping_area.shipping_code =='sf_express' || $shipping_area.shipping_code =='post_express' }

==修改后程序为:

{if $shipping_area.shipping_code =='ems' || $shipping_area.shipping_code =='yto' || $shipping_area.shipping_code =='zto' || $shipping_area.shipping_code =='sto_express' || $shipping_area.shipping_code =='post_mail' || $shipping_area.shipping_code =='sf_express' || $shipping_area.shipping_code =='tt_express' ||$shipping_area.shipping_code =='post_express' }

七. 最后进入后台更新网站缓存,完成插件添加。

关于ecshop快递单模板代码和淘宝快递单模板的介绍到此就结束了,不知道你从中找到你需要的信息了吗 ?如果你还想了解更多这方面的信息,记得收藏关注本站。

版权说明:如非注明,本站文章均为 AH站长 原创,转载请注明出处和附带本文链接;

本文地址:http://ahzz.com.cn/post/312.html


取消回复欢迎 发表评论:

分享到

温馨提示

下载成功了么?或者链接失效了?

联系我们反馈

立即下载