欢迎使用 Zen Cart 中文版 ...


Zen Cart™软件使用的是GNU通用公共许可协议,您可以免费使用、修改Zen Cart™软件。

虽然该软件是免费的,但是欢迎您每次下载新版本前捐款,以帮助我们继续软件开发、升级,和维护免费论坛。

捐款网址: Zen Cart™ 团队

感谢您的支持
Zen Cart China

Zen Cart™ 源自: Copyright 2003 osCommerce
该软件希望提供有用的功能,但[不做保证],也不保证[适用于特定用途]
该软件受限于GNU通用公共许可协议



该软件通过OSI开源软件认证。
OSI Certified是开源动力的认证标志。

升级说明

如果您使用PayPal, 升级后,您需要在 管理页面->模块管理->支付模块 下,先删除再重装paypal支付模块。

如果您需要PayPal设置的参考资料,请看/docs目录下的Zen Cart + Paypal安装文档,或参考paypal网站的技术资料

修改记录 - 修改文件的列表

从版本v1.2.6开始所做的修改的文件列表,请看changelog-v1-3-0.html

新功能 ...

下面是v1.3.0d新增的主要功能:

清除模板系统

  • 所有商品分类页面模板兼容XHTML 1.0 Transitional标准。
  • 模板外观根据用户需求更改
  • 商业逻辑从模板中分离,仅留下必要的显示逻辑
    这意味着模板文件更小、更紧凑、更容易理解、更容易定制。
    为达到这点,很多组件都改为模块。
  • 增强功能
    - 可以在管理界面下打开/关闭分类导航条
  • 新的缺省/演示模板的按钮集

新增功能

  • 新的简易页面
    Inspired by sunrom's "Unlimited Information Pages" contribution, EZPages has been integrated into the core code, and enhanced to enable use in header, footer, or even sidebox.
    It's even possible to have more than one sidebox, with a few coding alterations.
    Enabling/disabling placement and sort order is all handled from the admin interface under the "Tools->EZ-Pages" menu.
    You can even group pages into chapters, and also specify a TOC (Table of Contents) for a certain chapter, which also allows a previous/next navigation through that chapter's pages.
    Also allows for SSL mode and "open in new window" mode on a per-page basis.
    Currently only supports a single language.
  • 基于页面的CSS样式表控制
    Inspired by Juxi Joza's contribution, you can now use a different stylesheet for each page of your site, including per-product or per-manufacturer or per-language delineations.
    Also added printer-friendly stylesheet support (css/print*.css files)
    See the readme_css_system.html for more information.
  • PHPMailer
    The email subsystem has been replaced with the popular PHPMailer class. This will work around many limitations to the older legacy email subsystem which resulted in odd email problems with various hosting configurations and various email clients having problems reading contents.
  • PayPal IPN更新
    Added missing code to process e-checks
    Added debug facility
    (说明: 需要在管理页面下"删除" 并重新"安装"Paypal支付模块)
  • 网站地图和404错误提示
    Inspired by NetworkDad's contribution and langer's error404 contribution as well as suggestions/contributions by several others, the Site Map link (now in the Information sidebox) shows a navigable map of all categories and some core static pages. Great "spider food"!
    Enabling the switch to trap for "page not found" and "product not found" errors, also takes customers (and spiders) to the Site Map for alternate choices for finding their intended link.
    Sample .htaccess for "page-not-found" support can be found in the "extras" folder.
  • PHP最低版本的要求现在是PHP v4.3.2
    We have raised the minimum supported configuration to PHP v4.3.2 due to the number of bugs fixed to that point. Some session-handling features in 4.3.2 function much more smoothly than in versions previous to that. Specifically, Zen Cart's "recreate session" switch only functions on PHP v4.3.2 or higher. Functionally-speaking, Zen Cart "will" still operate on PHP versions as low as 4.1.2, but you run the risk of odd login/security problems and some email issues.
    If you run into problems with Zen Cart and are using a PHP version prior to v4.3.2, we suggest you strongly encourage your host to upgrade, or to move you to a server that 'is' upgraded.
  • 通知子系统
    The notifier subsystem allows you to "hook" into various cart events to alter the normal behaviour of standard activities. One possible use for this is the potential to activate a "buy one get one free" sort of feature during checkout.
    See wiki for detailed explanations and examples.
  • 代码优化:
    - autoloader system implemented to replace application_top. Now split out into several separate components, found in the "init_includes" folder. Any customizations to these files can be overridden by using the "override" folder.
    - javascript "modules/pages/xxxx/jscript*.js" files now supported for inclusion by reference rather than only as inline javascript sent to the browser (from "jscript*.php" files).
    - More documentation in the wiki
  • 增强多分类链接管理的功能
  • 新的配送模块
    - freeoptions - 在各种配送模块的同时,也可以提供免费配送。可以是基于订单总额、件数或者重量的组合。(旧版本的"免运费"模块仅是免费,新版本允许组合。)
    - perweightunit - 基于订单总重量的配送方式 (可以修改为基于货币水平等)
  • 增加对分类元标签的支持
    现在可以设置基于分类的元标签信息。
  • 属性系统
    - Added textarea option on TEXT attributes, defined in Option Name Manager, allowing multi-line text-input attribute fields.
    - Attribute Controller delete all Option Values to 1 Option Name with confirmation

v1.3.0中的其他修改:

下面是v1.3.0中其他的修改:

  • Various SQL updates implemented for improved MySQL 5 compatibility
  • Paypal module now processes echecks
  • admin/includes/configure.php now contains DIR_FS_DOWNLOAD. Previously it was defined in admin/download_manager.php. It is advised to add this entry to your admin/includes/configure.php during an upgrade, as future releases may not retain the definition in the download_manager file.
  • NEW: Moved meta-tag separators out of modules/meta_tags.php into english/meta_tags.php
  • NEW: If a category contains only one product, clicking on that category now takes you directly to that product's page (can disable this in admin).
  • NEW: "information" sidebox links can be enabled/disabled via admin switches
  • NEW: Added ability to skip sending certain email confirmations by defining EMAIL_MODULES_TO_SKIP
  • NEW: Admin home page now shows visitor history statistics for the last 10 days.
  • NEW: Admin Order-Edit page now allows shopowner to click and mask-out CC/CVV info
  • NEW: Admin Order-Edit page is more printer-friendly
  • NEW: Option to clear Admin Activity Log added to Admin->Tools->Store Manager
  • NEW: Admin Server Information page now shows version-history info
  • NEW: added admin support to prevent menu from appearing behind input boxes in IE
  • NEW: Language overrides for english.php do NOT need to be complete files. Only need "changed" defines in the override file, since the master is loaded after the override.
  • NEW: Customer can remove a discount coupon from their order by entering REMOVE for code
  • NEW: Products can now be free-shipping if virtual OR a combo of virtual plus physical (thus downloads are available AND stock is decreased when the product is ordered)
  • Enhanced logic for attribute pricing based on Customer Store Status and Customer Authorization
  • Enhanced Whos-Online information display. Spiders' info grouped together and more reliable.
  • Changed products_options_values field in database to BLOB format to allow more content
  • docblock headers added to changed files
  • Added "down for maintenance" notice in admin as well as catalog
  • Security enhancements to prevent register_global and xss hacks.
  • Several database index definitions were updated.
  • Demo database contents updated for stronger XHTML compliance
  • Breadcrumb trail in catalog now leaves last entry "not" as a live link. Can turn on again in admin.
  • Admin product/categories breadcrumb trail reversed ... to make it more intuitive.
  • Installer code optimized to better handle version detection and consolidate functions
  • Enhance: zen_db_perform function now accepts upper-case or lower-case parameters
  • Enhance: Split_page_results also accepts upper- and lower-case parameters (thx to forum tips)
  • Unsubscribe URL is now shorter -- shortened parameter to just 'addr'
  • Admin login boxes are now aligned
  • Admin "shopping_cart" class & "validations" functions dropped - now uses catalog version
  • Admin "modules" (pay/ship/ot) now auto enter "edit" mode upon installation
  • SQL errors now explain the full query for easier troubleshooting
  • Session-handling improvements
  • Enhance: email system now checks more aggressively for injection attempts
  • Enhance: email attempts to display currency symbols more accurately
  • extra_main_template_vars overrides improved
  • Bugfix - Rounding problems related to tax-calculations
  • Bugfix to catch more installer error messages ... in some rare cases were being ignored.
  • Bugfix - Product Notification selections on checkout now get stored properly
  • Bugfix - Checkout-Shipping -- calculations were evaluating as cheapest when results were false vs actually cheapest.
  • Bugfix -- product_music_info wasn't loading extra_main_template_vars overrides properly.
  • More detailed error messages now appear when SQL problems occur.
  • Bugfix: Admin coupon-admin page navigates more friendly.
  • Bugfix: Admin specials navigation fixes.
  • Bugfix: Developers Toolkit no longer dies with "permission denied" when searching directories for which it doesn't have read privileges.
  • Bugfix: whos_online was missing a define in admin area.
  • Per-page language files now load both the override file, and then the master file, so that missed definitions are not lost.
  • Bugfix: zen_href_link() now uses DIR_WS_HTTPS_CATALOG path when building SSL links.
  • Bugfix: free-shipping wasn't always being calculated properly when zero-weight=free.
  • Bugfix: gv_send wasn't always trapping for error conditions properly. Timeout extended also.
  • Bugfix: corrected missing error messages in Admin area
  • Bugfix: group pricing and coupons/GV calculations tidied
  • Bugfix: tpl_account_default wasn't properly listening to the admin switches for newsletter-unsubscribe and cust-product-notification-status, and didn't properly disable display of both links if both were set to disabled in admin.
  • Bugfix: fixed proportional image bug where images that are smaller than defined image sizes were proportionally enlarged beyond proper resolution
  • update product-listing templates to use a gif button instead of hard-coded button for Multiple Add To Cart
  • Bugfix: coupon restrictions had conflicts between allowed and disallowed products
  • Bugfix: smarter <noscript> code for multiple product images
  • Breadcrumb "home" link now has 'short' URL
  • Bugfix: when unlinking a product from multiple categories, now keeps connection to current category
  • Bugfix: minor syntax updates to styles in HTML email templates
  • Bugfix: session timeout problem resolved when moving from http to https domains
  • Bugfix: currencies and languages sideboxes were displaying on checkout incorrectly
  • Bugfix: product_music product type was not deleting relational records if product was deleted. Fix included adding override support at the per-product-type level for deletions.
  • Bugfix: cascading deletes for entire category now also handles prod-type-specific content
  • Enhanced: Switch added to downloads manager to allow non-redirected downloads to be streamed in chunks rather than the whole file. Helpful for servers with low PHP memory_limit
  • Some debug-only code has been relocated out of template files and into debug_blocks folder
  • Bugfix: No longer creates a blank phpBB account if no nickname entered during create-account
  • Bugfix: Logoff link no longer shows in header after logging off
  • Bugfix: Admin button-bar items now work better when processing items found via search
  • Bugfix: fixed javascript bug in authorizenet_aim module if CVV wasn't being captured
  • Bugfix: Music Genre editor window image option removed--was extraneous and prevented edits
  • Bugfix: Music Media Manager error if media was mistakenly not added to collection
  • Bugfix: Media Manager wasn't trapping errors during upload of clips if folder not writable
  • Bugfix: Group Pricing "deletes" handle warnings and deletions smarter
  • Bugfix: Newsletters/Products-Notifications now skips ob_flush if irrelevant
  • Bugfix: GV usage is now cleared properly post-checkout
  • messageStack code and dependencies on boxes class changed significantly
  • phpBB code moved out of the "sniffer" class into its own dedicated class
  • Renamed several files in the "docs" folder due to case-sensitivity issues in some browsers
  • Extraneous image files removed from distribution. Several new images added for newer template resources.
  • "empty.txt" files removed except for in sample "classic" override folders
  • blue_strip template removed
  • main_template_vars_images.php is now handled by modules/main_product_image.php & template file
  • main_template_vars_images_additional is now handled by modules/additional_images.php & template file
  • main_template_vars_attributes.php is now handled by modules/attributes.php and template
  • tpl_list_box_content.php is now handled by tpl_columnar_display.php and tpl_tabular_display.php, depending on whether you require tables (tabular) as output.

 

重要提示

  • 在商店"正式"运营前,请仔细阅读并实施网站安全建议如有疑问,请联系主机商,保证设置正确。
  • XHTML兼容: 要完全实现XHTML兼容,请检查所有商品描述兼容XHTML。同时,您的自定义页面也要兼容XHTML。
  • 进入 管理页面->电子邮件选项->允许访客推荐给朋友,设置为'false'。这将防止访客利用您的服务器来发送不必要的电子邮件。(缺省安装设置为关闭。升级时最好关闭该选项。)

升级提示 ... 从 v1.2.x 到 v1.3.0

从v1.2.x 升级到 v1.3.0时,请注意下面几个问题:
  • admin/includes/configure.php
    全新安装的admin/includes/configure.php现在包含DIR_FS_DOWNLOAD。之前该定义在 admin/download_manager.php。建议升级时,添加该条目到admin/includes/configure.php,以后的版本也许要用到该设置。
  • 分类meta_tags定义
    meta_tags.php: 'PRIMARY_SECTION', 'SECONDARY_SECTION', 'TERTIARY_SECTION'modules/meta_tags.php 移到 languages/english/meta_tags.php
  • 定义页面
    如果您的模板为'classic',那么要小心不要覆盖 /includes/languages/english/html_includes/classic/*.* 中的自定义文件。
    说明: 升级前,记住备份: /includes/languages/english/html_includes
  • 推荐给朋友
    可以进入 管理界面->电子邮件选项->允许访客使用推荐给朋友,设置为'false'。这将防止访客利用您的服务器来发送不必要的电子邮件。(缺省安装设置为关闭。升级时最好关闭该选项。)

升级模板

Zen Cart中文版的模板系统从v1.3.0开始有很大变化。因此,您有两个选择:
  • 使用新的样式表并适当修改,来升级已有的模板;或者
  • 如果想基本不用表格、模板代码更紧凑,更好的方法是新建一个模板,重新定制。

有关升级模板的更多细节,请访问用户论坛。