Zen Cart的模板设计

    技术2022-05-11  80

    文件路径注释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所有页面的页脚  

    最新回复(0)