ZenCart模板结构说明

ZenCart模板结构说明index.php主文件includes/templates/[customtemplatefolder]/common/html_header.php页面的head部分includes/templates/[customtemplatefolder]/common/tpl_main_page.php页面的body部分includes/templates/[customtemplate

大家好,又见面了,我是你们的朋友全栈君。如果您正在找激活码,请点击查看最新教程,关注关注公众号 “全栈程序员社区” 获取激活教程,可能之前旧版本教程已经失效.最新Idea2022.1教程亲测有效,一键激活。

Jetbrains全系列IDE使用 1年只要46元 售后保障 童叟无欺

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

所有页面的页脚

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-用户IM,转载请注明出处:https://javaforall.cn/164605.html原文链接:https://javaforall.cn

【正版授权,激活自己账号】: Jetbrains全家桶Ide使用,1年售后保障,每天仅需1毛

【官方授权 正版激活】: 官方授权 正版激活 支持Jetbrains家族下所有IDE 使用个人JB账号...

(0)


相关推荐

发表回复

您的电子邮箱地址不会被公开。

关注全栈程序员社区公众号