您的位置:首页 > 数据库

如何解决zencart首页商品图片显示错位?

2010-11-21 19:42 447 查看
简单点就是把每个商品的宽度调小些,例如修改 includesmodulesnew_products.php将其中的$col_width = floor(100/$num_products_count);} else {$col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_NEW_PRODUCTS);}改为$col_width = floor(100/$num_products_count-1);} else {$col_width = floor(100/SHOW_PRODUCT_INFO_COLUMNS_NEW_PRODUCTS-1);}(

 

进入管理页面,选择商店设置->布局设置,然后选分类 - 总是显示在首页,设置该值为0并更新。

 

以下是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

文章来自永磁起重器http://www.shqzjx.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  产品 数据库