网络营销电子商务研究中心  
How to buy the best prescription safety glasses in Canada? Let's study!
Go Back   网络营销电子商务研究中心 > 网站建设 > ZenCart
User Name
Password
 
FAQ Members List Calendar Cheap Glasses

Reply
 
Thread Tools Display Modes
  #1   IP: 117.95.89.97
Old 2009-12-01, 09:36 PM
yahoo yahoo is offline
高级会员
 
Join Date: 2006-04-05
Posts: 165
yahoo 正向着好的方向发展
Default 有关Zen Cart的一些常用操作

页头或页眉下面有一大堆Categories tags,怎么去掉?

后台管理 —> Configuration —> Layout Settings —> Categories-Tabs Menu ON/OFF,把这个属性设为关闭即可!

去掉产品目录右边括号内的产品总数

在管理后台里,进入”Configuration” —> “My Store” —> “Show Category Counts”选项,设置为关即可。

去掉产品目录后面的一个小箭头->

按Zen-cart的默认配置,产品目录后面有个->(12356)这样风格的统计数字显示。如何去掉呢?

在管理后台里,进入”Configuration” —> “Layout Settings” —> “Categories Separator between the Category Name and Count”选项,按你的需要设置即可。

打开产品根目录后,会显示子目录的排列图标,这个东西怎么修改?

在模板目录下的common/tpl_columnar_display.php文件里,修改显示的内容。

如何Zen Cart把左、中、右三栏之间留一点空隙


Zen-Cart默认把左侧栏、中间产品栏、右侧栏排列得很紧密,如果想把三间之间的两个空隙弄小一些,怎么办?

在后台Configuration —> Layout Setting中,仔细调节

Column Width – Left Boxes

Column Width – Right Boxes



Column Width -Left

Column Width – Right

的值,上面的这类带有Boxes的,是设定显示给我们看的box的大小,而没有Boxes的这类值,则是显示背景的大小。

只要你把下面的值设得比上面的值大,就有空隙出来了。

刚安装好的Zen-cart,如何修改首页的Congratulations! you have successfully installed…

If you want to change “Congratulations! You have successfully installed your Zen Cart; E-Commerce Solution” with your own text open the includes/languages/ENGLISH/index.php file and find the following code:

// This section deals with the “home” page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: ‘Welcome to My SHOP!’*/
define(’HEADING_TITLE’, ‘Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.’);
} elseif ($category_depth == ‘nested’) {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: ‘Welcome to My SHOP!’/
define(’HEADING_TITLE’, ‘Congratulations! You have successfully installed your Zen Cart™ E-Commerce Solution.’);
}

Replace the text starting “Congratulations” with your own text. Make sure that the single quote marks are not left out.

如何修改左、右边框的显示风格?

修改文件common/tpl_box_default_left.php或common/tpl_box_default_left.php即可。

我得到了一个空白页面,怎么调试呢?

最简单的方法,把以下代码加入到你的index.php里:

<?php
define(’STRICT_ERROR_REPORTING’, true);
?>

这样,你访问页面产生的错误消息就会输出到页面了。当然,如果你把错误fix掉了的话,记得把这个关掉,免得给用户看到。

我要单独修改Categories里的内容,怎么办?

不单是Categories,所有的sidebox的内容,都可以在/includes/templates/YourTemplate/sideboxes文件夹里进行修改。

tpl_categories文件,就是修改Categories里面的显示内容的,当然,你修改了里面的CSS标签,就修改了Categories的样式。

你可以通过common/tpl_box_default_left.php和common/tpl_box_default_right.php这两个文件来对左栏和右栏的内容进行大的调整。

一般来说,你只要修改sideboxes里面对应的文件就能搞定你所需要的东西了。
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Prescription-glasses.com offers prescription glasses online at discount prices.
All times are GMT +8. The time now is 10:45 AM.


Powered by vBulletin Version 3.8.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.