• zencart目录结构


    zencart目录结构

    文件路径

    注释

    index.php

    主文件

    includes/templates/[custom template folder]/common/html_header.php

    页面的head部分

    includes/templates/[custom template folder]/common/tpl_main_page.php

    页面的body部分

    includes/templates/[custom template folder]/common/tpl_header.php

    所有页面的页眉

    (column left)

     

    includes/templates/[custom template folder]/common/main_template_vars.php

    决定页面的内容部分,缺省为 ‘tmp_index_default.php’

    首页缺省

    includes/templates/[custom template folder]/templates/tmp_index_default.php

    首页模板文件

    首页显示分类

    includes/templates/[custom template folder]/templates/tpl_index_categories.php

    首页上显示分类时的模板文件

    includes/modules/[custom template folder]/pages/index/category_row.php

    选择要显示的分类

    includes/templates/[custom template folder]/templates/tpl_index_category_row.php

    显示分类

    首页显示指定分类

    includes/templates/[custom template folder]/templates/tpl_index_product_list.php

    首页上显示指定的分类时采用的模板文件

    includes/modules/[custom template folder]/product_listing.php

    将商品数据添加到数组

    includes/templates/[custom template folder]/templates/tpl_modules_product_listing.php

    显示商品数量和商品导航菜单

    includes/templates/[custom template folder]/common/tpl_list_box_content.php

    显示商品数组

    商品信息页面

    includes/templates/[custom template folder]/templates/tpl_product_info_display.php

    显示单件商品信息

    购物车页面

    includes/templates/[custom template folder]/templates/tpl_shopping_cart_default.php

    购物车页面

    (column right)

     

    includes/templates/[custom template folder]/common/tpl_footer.php

    所有页面的页脚

    转载请注明出处!小鱼阁工作室 -专注zencart建站,织梦企业建站,ecshop商城,二次开发,产品采集,模板修改!技术QQ 631992791
  • 相关阅读:
    相关不是因果,哪又是啥?
    .NET Http请求
    .NET [MVC] 利用特性捕捉异常
    .NET WebAPI 利用特性捕捉异常
    .NET Core[MVC] 利用特性捕捉异常
    .NET Core 如何使用Session
    .NET CORE 使用Session报错:Session has not been configured for this application or request
    .NET Core Cache [MemoryCache]
    .NET CORE 设置cookie以及获取cookie
    webapi 控制json的字段(key)显示顺序
  • 原文地址:https://www.cnblogs.com/afish/p/3987790.html
Copyright © 2020-2023  润新知