zen-cart显示分类树

zencart 电子商务系统左侧的分类树标题,所处位置都在layout_boxes表中.通过sidebox目录下的调用,显示出来.zencart系统的分类树在includes/modules/sideboxes /categories.php中. $main_category_tree = new category_tree;是zen cart分类树的类对象,用来处理分类的。 $check_categories = $db->Execute("select categories_id from " . TABLE_CATEGORIES . " where categories_status=1 limit 1");获取该分类树状态正常显示的标识. require($template->get_template_dir('tpl_categories.php',DIR_WS_TEMPLATE, $current_page_base,'sideboxes'). '/tpl_categories.php');目的是包含includes/templates/zccn/sideboxes /tpl_categories.php 包含分类子模板的。 require($template->get_template_dir($column_box_default, DIR_WS_TEMPLATE, $current_page_base,'common') . '/' . $column_box_default);实际是为了包含includes/templates/template_default/common /tpl_box_default_left.php . 以上就是zen cart电子商务系统显示分类树的程序.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值