Home  >  Article  >  Backend Development  >  My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

WBOY
WBOYOriginal
2016-07-20 11:14:522092browse

I am a newbie in EC. No matter how many templates EC makes, it will definitely not be able to meet our needs. What’s more, each industry has its own approach, and the templates unified by EC may not be suitable for our industry. Therefore, , only when we truly master the skills of making and modifying templates can we truly create an e-commerce platform that suits us and truly create an e-commerce platform that conforms to the habits of customers in our industry.

First of all, welcome to this tutorial. Congratulations to everyone for using ECshop! How good is EC? ECshop is built with PHP. I don’t want to say more about PHP applications (Amazon: amazon.com, Yahoo: yahoo.com, Baidu: baidu.com, Taobao: taobao.com, Sina: sina.com, Tencent :qq.com), (ps: ECshop succeeded! At this moment, he is the inheritance of great e-commerce, he is not fighting alone, he is not alone -_-!!!) I won’t say more about everyone. We all know that, but sometimes I, who love diving, really can’t help but jump out and say a few words.

This tutorial is suitable for understanding ECshop and ECshop template DIY and their daily use. Before viewing, you need to be able to use at least one editor (exp: Dreamweaver, editplus, emacs, vi, ee...meaning visual HTML editing or a direct text editor. When I talk about it, I use Dreamwaver, which is more suitable for beginners and designers). This tutorial is currently maintained by me alone, but I believe that it won’t be long before many people will continue to maintain it. The content needs to be constantly updated. If you are interested in participating, PM me. Let’s serve everyone together.

By studying this tutorial, as long as you watch and follow along, you will definitely be able to learn to make your own templates. :)

The following chapters apply to the ECshop program. At the same time, a lot of content here is related to some Smarty. If you are already familiar with these contents, you can skip reading. If you are new to ECshop and want to DIY your own store, you should read these chapters carefully and in detail from beginning to end. ( ps: Don’t be nervous, I will try my best to communicate with you in human language. I will only show it to you in machine language as a last resort) I hope that everyone can pass this tutorial and make any template you want. Ha ha! Let’s work hard together!

Read these contents and you will understand:

     

Template storage path: ecshop/themes/xxxxx where xxxxx is a certain set of templates. For example, the template file that comes with the system is generally called default, (i.e.: ecshop/themes/default). What is placed in it is when it is installed. The default template, all the following instructions are for the default template.

We find a random gif picture, name it logo.gif and put it in the images directory, and then we refresh the homepage. Did you see that? The homepage logo has been modified. If you think the size is inappropriate, then we open page_header.lib in the library directory to view the source code, then search for images/logo.gif and then look behind it width="130″ height="56″ and change 130 and 56 to the corresponding ones. The value is enough, go to the front desk to refresh and see. Refresh the browser to see if there are any changes to the page. Shrimp? Didn't find it? Look at the browser header, haha, has the title of the website been changed?

Haha, yes, {$page_title} is the tag of the website title (note: the tag starts from { and ends with }, { and } are part of the tag). The entire ECshop template is composed of such tags one by one. , control the dynamic display of website content and data.

For example

({$keywords}) controls the keyword tags of the website,

 {$description}: Website description tag, (This is the tag in the template. Each tag will correspond to a value in the program. When the website is running, the template engine will read the template page, and then use the corresponding tag with the corresponding Replace the value, and the website page we see will be displayed. You understand. This content may not be fully digestible for novices. If you have any questions, please leave a message and I will update it here.) Don’t be anxious, haste makes waste, haha, now we really start to make the ECshop template, (those who don’t understand HTML should prepare Dreamweaver)

Prerequisite: adjust the template you are currently using to the default template, and then clear the cache.

Next we enter the default directory and you can see the following file directory:

*.dwt (indicates other .dwt files)

Xiaomi? Don't you believe these are templates? Okay, then I’ll prove it to you.

We change the name of the logo.gif file in images to logo2.gif, and then

Okay, next we use Dreamweaver to open the index.dwt file, search for {$page_title} in the source code, and after finding it, modify {$page_title} to "Super Invincible Hypermarket." Then go to

Very simple 8, haha, everyone is really smart, Kong Ming is reincarnated, and you learned it so quickly. If your operation in the previous step was super, very simple, the next step will be the same. Next How to change it? We continue after commercials.

….Golden advertising space…Welcome to buy…PM me if necessary…(PS: People can’t be so shameless)…Haha…

1. We go to the /themes/default directory, rename index.dwt to index_bak.dwt, then use Dreamweaver to create a new HTML file, then save it to the /themes/default directory and name it index.dwt, OK, Let's refresh the front desk and see, haha, there's nothing. Okay, find b2386ffb911b14667cb8f0f91ea547a7 in our newly created index.dwt, and replace the content between b2386ffb911b14667cb8f0f91ea547a7 and 6e916e0f7d1e588d4f442bf645aedb2f with: {$page_title }, also put a {$page_title} between 6c04bd5ca3fcae76e30b72ad730ca86d and 36cc49f0c466276486e50c850b7e4956, refresh the front desk and see. Hey, what do you see? Is the website title printed?

If a dialog box pops up during operation:

Just click OK, :)

2. Next we select visual interface editing: then press the Enter key after {$page_title} to change the line, and then enter: Store announcement: {$shop_notice} Go to the browser to refresh the homepage to refresh and see, haha. The store announcement has been brought up, you can go to the website backend

System Settings->Store Settings->Online Store Information->Store Announcement Modify the content, then go to the browser and refresh the homepage of the website to see, haha, the store announcement is dynamically dropped.

3. Then press the Enter key after {$shop_notice} to change the line, and then enter

 

1.<span  网站快讯: 

</span>2. {<span foreach</span> from=<span $new_articles</span> item=<span article}   

</span>3. {<span $article</span>.<span short_title}   

</span>4. {/<span foreach</span>} 

Copy code

Note:

Press the Enter key at the line break, so that you can refresh the front desk and take a look. Haha, the website news has been brought out.
换行的地方按Enter键哦, 好刷新前台看看 ,呵呵,网站快讯被调出来了哦。

好我们再到网站后台->文章管理->网站列表->添加文章,选择 网站快讯这个分类,随便添加一篇内容,完成后前台刷新看看。两篇文章都被动态掉出来了哦。

Okay, let’s go to the website backend->Article Management->Website List->Add article, select the category "Website News", add a piece of content at will, and refresh the frontend after completion. Both articles were dropped out of the feed.

Note:

 

以后这个循环我们会经常的用到哦. 还是不懂也没有关系,每次遇到我都会讲哪里要怎么设置的,多用就会了。

 

我们也可以这么写哦 , 注意: 在代码编辑的视图里面编辑

1. <table>   

2. {<span foreach</span> from=<span $new_articles</span> item=<span article}   

</span>3. <tr><td>   

4. {<span $article</span>.<span short_title}   

</span>5. </td></td>   

6. {/<span foreach</span><span }   

</span>7. </table> 

 

复制代码

哈哈,保存,刷新首页看看,表格被一行一行的循环出来了哦

 

  一人得道,鸡犬升天啊,谢谢ECshop将我提升为教程区版主 ,实在时荣幸啊,谢谢大家的支持, 谢谢我的笔记本电脑小Y,谢谢我的电脑桌,谢谢我的椅子,谢谢大家! 呵呵!  ~Orz.   

模板教程继续啦!

不知道大家是学会用循环了呢,还是我的言语实在有问题,大家实在无法完成阅读哦,居然大家都没有问题,暂时心里安慰,把他当做好事情,大家都会调用了,呵呵,那我们继续循环调用商品了!

好,继续在我们昨天的基础上,我们在网站快讯的循环后面,按 Enter键, 输入:商品列表,接着建立一个2行3列的表格,宽度为70%, 表格边框为1(为了让大家看清楚 ),起HTML代码如下

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4.     <td>1</td>   

5.     <td>2</td>   

6.     <td>3</td>   

7.   </tr>   

8.   <tr>   

9.     <td>4</td>   

10.     <td>5</td>   

11.     <td>6</td>   

12.   </tr>   

13. </table> 

 

复制代码

注: ( 1,2,3,4,5,6这些个是序号,方便跟大家讲解呢 )

在这里,我们暂时先把下面这一行去掉(为了大家操作简单),变成

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4.     <td>1</td>   

5.     <td>2</td>   

6.     <td>3</td>   

7.   </tr>   

8. </table> 

 

复制代码

我们要循环的是列,也就是b6c5a531a458a2e790c1fd6421739d1c,因此我们的循环标签应该在b6c5a531a458a2e790c1fd6421739d1c 和b90dd5946f0946207856a8a37f441edf的外面, 而2,和3应该是循环出来的东西,也就时我模板里面只用保留 1 这个td就可以了,2 和3都要去掉,

于是就变成了下面的样子

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4.     <td>1</td>   

5.   </tr>   

6. </table> 

 

复制代码

好,现在我们开始加循环标签,我们要调用的是精品推荐商品, 代码如下:

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4. {<span foreach</span> from=<span $best_goods</span> item=<span goods}   

</span>5.     <td>{<span $goods</span>.short_style_name}</td>   

6. {/<span foreach</span><span }   

</span>7.   </tr>   

8. </table> 

 

复制代码

注意了:foreach 表示下面的内容属于要进行循环,from=$best_goods 表示循环的内容来自$best_goods,($best_goods是精品商品推荐的标签 ) , item=goods 表示当前循环这一次的对象叫goods,你也可以改为其它的东东,当然{$goods.short_style_name}这个地方的goods也要相应的改了哦,{$goods.short_style_name} 表示goods 这个对象的商品名称. 好了,我们保存,前台刷新看一下啊。呵呵,精品商品被循环出来了吧?

接着,为了大家应用方便,我们把goods改为jingpinshangpin,代码如下:

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4. {<span foreach</span> from=<span $best_goods</span> item=<span jingpinshangpin}   

</span>5.     <td>{<span $jingpinshangpin</span>.short_style_name}</td>   

6. {/<span foreach</span><span }   

</span>7.   </tr>   

8. </table> 

 

复制代码

好前台刷新看看哦,呵呵,夷?如果你有很多的精品商品你会发现商品变了,因为精品商品是随机调取出来的.

好我们继续完善他,给它加上链接对应商品的链接,也就是添加3499910bf9dac5ae3c52d5ede7383485属性, 代码如下:

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4. {<span foreach</span> from=<span $best_goods</span> item=<span jingpinshangpin}   

</span>5.     <td><a href=&rdquo;{<span $jingpinshangpin</span>.url}&rdquo;>{<span $jingpinshangpin</span>.short_style_name}</a></td>   

6. {/<span foreach</span><span }   

</span>7.   </tr>   

8. </table> 

 

复制代码

刷新浏览器,点击链接看看链接到什么地方去了哦。呵呵! 链接到了每个产品自己的页面了呢。 说明:标签 {$jingpinshangpin.url} 就是精品商品的商品链接的标签了,但是要记得哦,$jingpinshangpin 是你起的名字哦,item=$jingpinshangpin的这个 $jingpinshangpin改变了的话,这里也要跟着改变。

接下来我们添加上商品的图片哦 ,也就是增加一个a1f02c36ba31691bcfe87b2722de723b属性 ,代码如下:

1. <p>商品列表</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3.   <tr>   

4. {<span foreach</span> from=<span $best_goods</span> item=<span jingpinshangpin}   

</span>5.     <td><a href=&rdquo;{<span $jingpinshangpin</span>.url}&rdquo;><img src=&rdquo;{<span $jingpinshangpin</span>.thumb}&rdquo; border=&rdquo;0&Prime; /><br>{<span $jingpinshangpin</span>.short_style_name}</a></td>   

6. {/<span foreach</span><span }   

</span>7.   </tr>   

8. </table> 

 

复制代码

到前台刷新浏览器看看看,呵呵,商品缩略图也被调出来了。

说明:标签 {$jingpinshangpin.thumb} 就是精品商品的缩略图的标签了,但是要记得哦,$jingpinshangpin 是你起的名字哦,item=$jingpinshangpin的这个 $jingpinshangpin改变了的话,这里也要跟着改变。

如果你已经熟练理解和掌握了以上的步骤,那么下面就越来越清晰和容易了。

接下来我们调取新品上市(标签为: $new_goods )和热卖商品( 标签为:$hot_goods) ,接着在刚才的代码后面加上去就是了。我就不多讲了哦,代码如下

1. <p>新品上市</p>   

2. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

3. <tr>   

4. {<span foreach</span> from=<span $new_goods</span> item=<span xinpinshangshi}   

</span>5. <td><a href=&rdquo;{<span $xinpinshangshi</span>.url}&rdquo;><img src=&rdquo;{<span $xinpinshangshi</span>.thumb}&rdquo; border=&rdquo;0&Prime; /><br>   

6. {<span $xinpinshangshi</span>.short_style_name}</a></td>   

7. {/<span foreach</span><span }   

</span>8. </tr>   

9. </table>   

10.   

11. <p>热卖商品</p>   

12. <table width=&rdquo;70%&rdquo; border=&rdquo;1&Prime;>   

13. <tr>   

14. {<span foreach</span> from=<span $hot_goods</span> item=<span remaishangpin}   

</span>15. <td><a href=&rdquo;{<span $remaishangpin</span>.url}&rdquo;><img src=&rdquo;{<span $remaishangpin</span>.thumb}&rdquo; border=&rdquo;0&Prime; /><br>   

16. {<span $remaishangpin</span>.short_style_name}</a></td>   

17. {/<span foreach</span><span }   

</span>18. </tr>   

19. </table> 

 

复制代码

接着我们要一个Menu菜单,也就是做一个产品的分类列表出来。相信你现在至少知道分类的标签是什么,就知道要怎么做了吧,呵呵.

分类的标签是:$categories

代码如下:

1. <p>分类列表</p>   

2. {<span foreach</span> from=<span $categories</span> item=<span fenlei}   

</span>3.    <a href=&rdquo;{<span $fenlei</span>.url}&rdquo;>{<span $fenlei</span>.name}</a>   

4. {/<span foreach</span>} 

 

复制代码

到前台刷新看看哦,呵呵,分类列表被调取出来了,我们试着在后台多添加几个一级分类,然后到首页刷新看看。

呵呵,我先去吃饭啦,吃完饭继续写如何把子分类调用出来,大家有问题多问哦,

吃饭回来了….(PS:这是怎么地啊,呵呵!)

子分类的标签是对应在父分类标签来调用的.代码如下:

 

1. <p>分类列表</p>   

2. {<span foreach</span> from=<span $categories</span> item=<span fenlei}   

</span>3.    <a href=&rdquo;{<span $fenlei</span>.url}&rdquo;> {<span $fenlei</span>.name}</a>   

4.      {<span foreach</span> from=<span $fenlei</span>.children item=<span child}   

</span>5.      <br>- &ndash; <A href=&rdquo;{<span $child</span>.url}&rdquo;>{<span $child</span>.name|escape:html}</A>   

6.      {/<span foreach</span><span }   

</span>7. {/<span foreach</span>} 

复制代码

保存以后前台刷新看看呢。呵呵,怎么样?子分类也被调用出来了吧,当然可以根据自己的需要,加上不同的表格或者图片的修饰哦,子分类是放在了父分类标签的基础上来调用的呢。

不过如果你的分类已经固定了很少改动,我建议还是做成死的,这样可以做的更漂亮一些,比如每个分类直接是用图片来代替。呵呵,我一般就是这么处理的,我除了商品和新闻是动态调用出来的以外,其它的都是做成固定的死的,这样就能够设计的很漂亮,因为有时候受到代码的限制,做出来不是很好看。(…说的好模糊,您能理解吗?不能的话就告诉我 ).

本来教程已经写了好多了,但是很多地方写的有点让新手不是那么容易接受,所以就一直在想办法,如何讲解的更简单一些,能让每个人都学会做模板。思考中…..

由于个人原因,今天教程停播一天,明天继续,实在不好意思各位. ~Orz.

啊,今天的章节就算是结束啦,明天预告:

1.如何调用某个分类里面的商品 2.如何制作商品展示页面的模板 3.完善前面讲的章节,并对大家提出的问题做出解答

今天我们来学习如何掉用某一个分类里面的产品。 首先把 default文件夹中的category.dwt 的名字改为category_bak.dwt,然后新建一个category.dwt文件. 然后插入下面的代码:

1. {<span foreach</span> from=<span $goods_list</span> item=<span goods}   

</span>2. <img src=&rdquo;{<span $goods</span>.goods_thumb}&rdquo; border=&rdquo;0&Prime;  /><br>   

3. {<span $goods</span>.<span goods_name}   

</span>4. {/<span foreach</span>} 

 

复制代码

注:$goods_list表示商品标签

接着我们访问这个页面:(Ecshop的访问网址/category.php?id=1)例如:http://localhost/ecshop/category.php?id=1 这样我们就访问到了分类id为1的商品了,我们也可以让id=2就访问到id = 2商品了,那如何看某个分类的id呢? 我们看后台: 商品管理-》商品分类-》就可以看到商品分类的列表,然后把鼠标指上去选择新窗口打开,就能在地址来里面看到goods.php?act=list&cat_id=1这样子的信息,cat_id所等于的值就是这个分类的id了,然后就可以拿来调取了,呵呵。

好每次每次都把商品的列表调取出来了,那么如何调取某一个商品的页面呢? 首先把 default文件夹中的goods.dwt 的名字改为goods_bak.dwt,然后新建一个goods.dwt文件. 然后插入下面的代码:

1. 商品图片: <img src=&rdquo;{<span $goods</span>.goods_img}&rdquo; /><br><br>   

2. 商品名称:{<span $goods</span>.goods_style_name}<br><br>   

3. 商品货号:{<span $goods</span>.goods_sn}<br><br>   

4. 商品品牌: {<span $goods</span>.goods_brand}<br><br>   

5. 商品数量:{<span $goods</span>.goods_number} 单位:{<span $goods</span>.measure_unit}<br><br>   

6. 添加时间:{<span $goods</span>.add_time}<br><br>   

7. 市场价格:{<span $goods</span>.market_price}<br><br>   

8. 本店价格:{<span $goods</span>.shop_price_formated}<br><br>   

9. 注册用户价格:{<span $rank_price</span>.price}<br><br>   

10. 注册用户价格:{<span $rank_price</span>.price}<br><br>   

11. 注册用户价格:{<span $rank_price</span>.price}<br><br> 

 

复制代码

接着我们访问这个页面:(Ecshop的访问网址/goods.php?id=1)例如:http://localhost/ecshop/goods.php?id=1 这样我们就访问到了商品id为1的商品了,我们也可以让id=2就访问到id = 2商品了,那如何看某个商品的id呢?

我们看后台:商品管理-》商品列表-》就可以看到商品品的列表,最前面那一栏就是商品的id了,,然后就可以拿来调取了,呵呵。

还有人在问品牌的,某一个品牌的商品怎么调用,呵呵,下次有时间再讲 更新啦!!

今天我们学习一下如何在首页调取某个分类的商品: 注意了,这里的修改有一些麻烦了哦:

首先你需要下载一套新的模板,比如blueksy 上传到模板目录 /themes/   也就是 /themes/bluesky,

然后进入网站后台->模板管理->模板选择,选择bluesky, 选择OK, 然后到网站后台 -> 模板管理 -> 设置模板 -> 分类下的商品 ( 点击分类下的商品前面的+号,然后选择“主区域中间“,序号默认, 商品分类随便选择一个就可以了”, 

然后填写显示的条数,填写好后点击确定提交,( 注意: 有的朋友可能会遇到提交不了,是因为权限问题,需要把bluesky的模板权限改,然后再重新提交一次)。

这里我增加了两个,的数据是:主区域空间 0 手机  6                                           

主区域空间  0 手机 6 我们在这里增加了多少条记录,对应首页就可以调取多少个分类。

好接下来我们恢复模板为原来我们改过的default模板

在我们以前做的基础上增加如下代码(也就是在原来代码的下面加上):

1. <p>第一个分类的<p>   

2. <?php <span $this</span>->assign(&lsquo;cat_goods&rsquo;,<span $this</span>->_var['cat_goods_1']); ?><?php <span $this</span>->assign(&lsquo;goods_cat&rsquo;,<span $this</span>->_var['goods_cat_1']); ?><?php <span echo</span> <span $this</span>->fetch(&lsquo;library/cat_goods.lbi&rsquo;); ?>   

3. <p>第二个分类的<p>   

4. <?php <span $this</span>->assign(&lsquo;cat_goods&rsquo;,<span $this</span>->_var['cat_goods_3']); ?><?php <span $this</span>->assign(&lsquo;goods_cat&rsquo;,<span $this</span>->_var['goods_cat_3']); ?><?php <span echo</span> <span $this</span>->fetch(&lsquo;library/cat_goods.lbi&rsquo;); ?> 

 

复制代码

这里要注意了, 红色的 1 代表你要显示分类的分类的ID, 将它改为你需要的 刚才添加的ID就可以了 红色的 3 代表你要显示分类的分类的ID, 将它改为你需要的 刚才添加的ID就可以了

好了,保存,前台刷新看看啊,呵呵.是不是我们要的分类就出来了,

看样子改起来很简单哦,不过每次都是这样要操作两个模板才能改还是有些麻烦,呵呵,等到高手进阶的时候再来讲怎么做。

仔细一看还是有点不好的地方哦,就是样子不好看啊,对不对?是默认模板的样子,没有关系啦,我们打开 librasy目录中的cat_goods.lbi文件修改就可以了。修改要注意的地方上门讲过了,不过这里还是要再说明一些小问题

cat_goods.lbi的代码如下:

1. <meta http-equiv=&rdquo;Content-Type&rdquo; content=&rdquo;text/html; charset=utf-8&Prime;>   

2. <div><img src=&rdquo;../images/green_arrow.gif&rdquo; width=&rdquo;37&Prime; height=&rdquo;37&Prime; alt=&rdquo;" border=&rdquo;0&Prime; style=&rdquo;vertical-align:middle&rdquo; /><a href=&rdquo;{<span $goods_cat</span>.url}&rdquo;>{<span $goods_cat</span><span .name|escape:html}</a></div>   

3. <div>   

4.   <!&ndash;{foreach from=</span><span $cat_goods</span><span  item=goods}&ndash;>   

5.   <table border=&rdquo;0&Prime; cellpadding=&rdquo;3&Prime; cellspacing=&rdquo;1&Prime; style=&rdquo;float: left&rdquo;>   

6.     <tr>   

7.       <td align=&rdquo;center&rdquo;><a href=&rdquo;{</span><span $goods</span>.url}&rdquo;><img src=&rdquo;{<span $goods</span>.thumb}&rdquo; border=&rdquo;0&Prime; alt=&rdquo;{<span $goods</span><span .name|escape:html}&rdquo; /></a></td>   

8.     </tr>   

9.     <tr>   

10.       <td><a href=&rdquo;{</span><span $goods</span>.url}&rdquo; title=&rdquo;{<span $goods</span>.name|escape:html}&rdquo;>{<span $goods</span><span .short_name|escape:html}</a><br />   

11.         <!&ndash; {if </span><span $goods</span><span .promote_price neq &ldquo;&rdquo;} &ndash;>   

12.         {</span><span $lang</span>.promote_price}<span>{<span $goods</span><span .promote_price}</span>   

13.         <!&ndash; {else}&ndash;>   

14.         {</span><span $lang</span>.shop_price}<span>{<span $goods</span><span .shop_price}</span>   

15.         <!&ndash;{/if}&ndash;>   

16.       </td>   

17.     </tr>   

18.   </table>   

19.   <!&ndash;{/foreach}&ndash;>   

20.   <br style=&rdquo;clear:both&rdquo;/>   

21. </div> </span>

 

复制代码

这里哦于一些奇怪的地方就是在标签两边多了 eb4e701ddaafaf10c9cbf848e3656a9a 符号,这个是没有关系的.删除掉也没有关系的啦

名称

类型

备注(作用或意义)

文件

images

目录

存放模板图片目录 

不可更改

library

目录

存放模板库文件目录

不可更改

screenshot.png 

图片

用于

不可更改

style.css

css

 

不可更改

备注:模板文件共 提醒: 1,  2,  3, 

brand.dwt

模板文件

商品品牌页

不可更改

article.dwt

模板文件

文章内容页

Cannot be changed

article_cat.dwt

Template file

Article list page

Cannot be changed

catalog.dwt

Template file

All category pages

Cannot be changed

category.dwt

Template file

Product list page

Cannot be changed

compare.dwt

Template file

Product comparison page

Cannot be changed

flow.dwt

Template file

Shopping cart and shopping process page

Cannot be changed

gallery.dwt

Template file

Product album page

Cannot be changed

goods.dwt

Template file

Product details page

Cannot be changed

group_buy_goods.dwt

Template file

Group purchase product details page

Cannot be changed

group_buy_list.dwt

Template file

Group purchase product list page

Cannot be changed

index.dwt

Template file

Home

Cannot be changed

message.dwt

Template file

Information prompt page

Cannot be changed

pick_out.dwt

Template file

Shopping center page

Cannot be changed

receive.dwt

Template file

Receipt confirmation information page

Cannot be changed

respond.dwt

Template file

Online payment result prompt information page

Cannot be changed

search.dwt

Template file

Product search page

Cannot be changed

snatch.dwt

Template file

Raiders of the Lost Ark page

Cannot be changed

tag_cloud.dwt

Template file

Tag cloud page

Cannot be changed

user_clips.dwt

Template file

User center page (including: welcome page, my message, my tags, favorite products, out-of-stock registration list, add out-of-stock registration.)

Cannot be changed

user_passport.dwt

Template file

User security page (including: member login, member registration, password retrieval.)

Cannot be changed

user_transaction.dwt

Template file

User center page (including: personal information, my red envelope, add red envelope, my order, order details, merged orders, order status, product list, total cost, consignee information, payment method, other information, membership Balance. )

Cannot be changed

Remarks: The total number of library files is Reminder: Try to keep the default file name, otherwise the background management will not be able to manage the library files or there will be unforeseen errors.

ad_position.lbi

Library file

Advertising slot

Cannot be changed

bought_goods.lbi

Library file

What products have been purchased by people who have purchased this product

Cannot be changed

brand_goods.lbi

Library file

Brand products

Cannot be changed

brands.lbi

Library file

Brand Zone

Cannot be changed

cart.lbi

Library file

Shopping Cart

Cannot be changed

cat_articles.lbi

Library file

Article list

Cannot be changed

cat_goods.lbi

Library file

Products under category

Cannot be changed

category_tree.lbi

Library file

Product classification tree

Cannot be changed

comments.lbi

Library file

User comments list (

Cannot be changed

comments_list.lbi

Library file

User comment content

Cannot be changed

consignee.lbi

Library file

Shipping address form

Cannot be changed

goods_article.lbi

Library file

Related articles

Cannot be changed

goods_attrlinked.lbi

Library file

Products associated with attributes

Cannot be changed

goods_fittings.lbi

Library file

Related accessories

Cannot be changed

goods_gallery.lbi

Library file

Product Album

Cannot be changed

goods_list.lbi

Library file

Product List

Cannot be changed

goods_related.lbi

Library file

Related products

Cannot be changed

goods_tags.lbi

Library file

Product tag

Cannot be changed

group_buy.lbi

Library file

Group purchase products on homepage

Cannot be changed

help.lbi

Library file

Online store help

Cannot be changed

history.lbi

Library file

Product browsing history

Cannot be changed

invoice_query.lbi

Library file

Invoice inquiry

Cannot be changed

member.lbi

Library file

Member Login

Cannot be changed

member_info.lbi

Library file

Member login form and user account information after successful login

Cannot be changed

new_articles.lbi

Library file

Latest articles

Cannot be changed

order_total.lbi

Library file

Total Order Fees

Cannot be changed

page_footer.lbi

Library file

Page footer

Cannot be changed

page_header.lbi

Library file

Top of page

Cannot be changed

pages.lbi

Library file

List pagination

Cannot be changed

recommend_best.lbi

Library file

Recommended products

Cannot be changed

recommend_hot.lbi

Library file

Hot-selling items

Cannot be changed

recommend_new.lbi

Library file

New product recommendations

Cannot be changed

recommend_promotion.lbi

Library file

Promotion items

Cannot be changed

search_form.lbi

Library file

Search form

Cannot be changed

snatch.lbi

Library file

Raiders of the Lost Ark Bidding Form

Cannot be changed

snatch_price.lbi

Library file

Raiders of the Lost Ark latest bid list

Cannot be changed

top10.lbi

Library file

Sales Ranking

Cannot be changed

ur_here.lbi

Library file

Current location

Cannot be changed

user_menu.lbi

Library file

User Center Menu

Cannot be changed

vote.lbi

Library file

Online Survey

Cannot be changed

ECSHOP

Article list page

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

My ECshop secondary development starts from scratch_PHP tutorial

FAQ:

http://www.bkjia.com/PHPjc/440261.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/440261.htmlTechArticleI am an EC newbie. Even if EC makes more templates, it will definitely not be able to meet our needs, let alone Each industry has its own approach, and the template unified by EC may not be suitable for us...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn