zen cart模板怎么进行二次开发修改
以下是zen cart 首页程序的修改。根据各个文件修改不同的功能。希望这些能对你有所帮助。
首页界面://include/templates/zccn/common/tpl_main_page.php
首页主样式表://include/templates/zccn/css/schinese_stylesheet.css
首页左边栏目:
/includes/templates/template_default/common/tpl_box_default_left.php
商品分类内容修改:
/includes/modules/sideboxes/categories.php
/includes/templates/zccn/sideboxes/tpl_categories.php
推荐产品
/includes/modules/sideboxes/featured.php
/includes/templates/template_default/sideboxes/tpl_featured.php
新进产品
/includes/modules/sideboxes/whats_new.php
/includes/templates/template_default/sideboxes/tpl_whats_new.php
特价产品
/includes/modules/sideboxes/specials.php
/includes/templates/template_default/sideboxes/tpl_specials.php
数据库表
/includes/database_tables.php
首页中间商品修改:
/includes/templates/template_default/common/main_template_vars.php
/includes/templates/template_default/templates/tpl_index_default.php
内页中间商品修改:
/includes/templates/template_default/templates/tpl_index_catergories.php
首页中间 August新进商品
/includes/templates/template_default/templates/tpl_modules_whats_new.php
首页中间 August特价商品
/includes/templates/template_default/templates/tpl_modules_specials_default.php
首页中间 推荐商品
/includes/templates/template_default/templates/tpl_modules_featured_products.php
首页右边栏目:
/includes/templates/template_default/common/tpl_box_default_right.php
商品搜索
/includes/templates/template_default/sideboxes/tpl_search.php
客服中心
/includes/templates/template_default/sideboxes/tpl_ezpages.php
畅销商品
/includes/templates/template_default/sideboxes/tpl_best_sellers.php
商品评论
/includes/templates/template_default/sideboxes/tpl_reviews_write.php
在线名单
/includes/templates/template_default/sideboxes/tpl_whos_online.php
如何安装zen cart模板
当得到一个zen-cart模板的时候,可能不知道怎么安装使用,现在就教你该怎么去安装一个zen-cart模板 首先将整个模板文件复制到 includes/templates/ 。接着进入zen-cart后台管理,工具(Tools)–模板选择(Template Selection),你将可以看到所有已安装的模板的模板名:×××× 接着选择要替换哪个现有模板(这里选的是redbottom),然后点击右边的编辑按钮,从现安装模板的下拉菜单中选择新模板,最后点击更新按钮。到这里就完成了一步了。接下来就是启用这个模板。
zencart1.39 中 banner3广告 怎么实现图片轮播?
1,后台布局设置-》广告显示组 - 标题位置 1 输入一个组名 在 tool banner manager 添加多个图片 组名 输入上面那个。2.在你想输出图片的 地方加入下面代码if (SHOW_BANNERS_GROUP_SET1 != '' && $banner = zen_banner_exists('dynamic', SHOW_BANNERS_GROUP_SET1)) {if ($banner->RecordCount() > 0) {while(!$banner->EOF) {echo zen_display_banner('static', $banner); $banner->MoveNext();}}}3,代码出来了。。再找 一个适合的JS效果。
求ZEN CART网站编辑方法
正规的官网的Zen cart没有simple categories功能的,如果你不是用拷贝来的网店,就去问问给你安装的人吧。如果给你安装的人用的是拷贝来的网店,那后患有些的。当然你也可以告诉给你安装的人到数据库去看看,对应的表导出后改下,再导入即可。如果给你安装的人看不懂我的这段话,估计对Zen cart不是很熟,只是给你用拷贝来的网店。这样的话还不如自己去官网上下载,自己安装,以免后患。

