版本v1.3.5到v1.3.6的升级说明
如果从Zen Cart v1.3.5升级,很简单:
- 比较所有修改的文件... 将您修改过的地方,重新添加到新文件中
- 上传新文件 (含您自己修改过的部分) 到服务器
- 上传zc_install目录到服务器,运行zc_install/index.php
... 在系统检测页面,选择升级数据库,执行相应的升级。
如果从v1.3.5之前的版本升级, 请查看"如何升级"文档,位于/docs目录。
重要说明
- 安全: 在商店"正式"运营前,请仔细阅读并实施网站安全建议。如有疑问,请联系主机商,保证设置正确。
- 样式表修改: 有添加重要的样式表及一些修改。
- 新增了两个样式表:
.hiddenField {
display: none;
}
.visibleField {
display: inline;
}
- 在文件 tpl_header.php 中修改 <div class="navMainSearch forward"> 为
<div id="navMainSearch"> 。如果您不想修改该文件,也可以在样式表中添加
/**************************/
/* backward compatibility, to be removed in 1.4: */
.navMainSearch {
float: right;
margin: 0.5em;
}
/**************************/
- PayPal用户: 如果您使用PayPal支付模块,请在管理页面->模块管理->支付模块->PayPal下删除并重新安装PayPal模块。 (重新安装前请记录好您的参数,以便重新设置!)
升级模板
Zen Cart中文版的模板系统从v1.3.x开始有很大变化。因此,您有两个选择:
-
使用新的样式表并适当修改,来升级已有的模板;或者
- 如果想基本不用表格、模板代码更紧凑,更好的方法是新建一个模板(基于缺省的template_default模板),重新定制。
有关升级模板的更多细节,请访问用户论坛。
修改记录 - 修改的文件列表
从版本v1.3.5开始所做的修改的文件列表,请看changelog-v1-3-6.html
新增功能 ...
下面是版本v1.3.6中包含的修改:
- 安全更新。该版本中包含了有关XSS漏洞的重要安全补丁,请尽快更新。
- 省份/国家下拉菜单自适应多种平台下的浏览器
- 优惠券可以设置仅适用于某地区的客户。 (例如: 设置为国内客户享受10%优惠)
- Linkpoint/YourPay API支付模块内置,同时做了些小改动。
- 已购买商品报表增加了搜索、链接等
- 新增: image-size settings can now be configured for top-level category images
- 新增: centerboxes on Empty Shopping Cart page can now be enabled/disabled/sorted via the admin interface under "Stock" settings
- 新增: currency-exchange "uplift" calculator added to My Store area, allowing automatic global padding of exchange rates during automated updates
- 新增: search page now accepts URL parameters, allowing some retention of search history if details supplied by a referring source/link
- 新增: Subcategories Row switch added to admin for Product Listing page
- 新增: "zones" shipping module now allows "00" for "All zones". Also no longer case-sensitive
- 新增: zone-status indicators added to suggest where zone configurations may be incomplete
- 新增: "upcoming products" can now be excluded from New Products boxes/listings
- 新增: built-in support for easy_rollovers contribution to be plugged in more simply
- 新增: new switch for Product Info to disable display of product-model in meta-tags output where custom meta-tags not defined
- 新增: create-account-success page now shows the customer's address for quick visual verification of their personal data
- 改进: $this_is_home_page variable can be used to determine whether the displayed page is truly the home page of the site or not. Handy for disabling breadcrumbs or other items for just the home page.
- 修改: admin - when entering/editing products, now have the option to key in the name of the product image filename to use images already uploaded to server
- 修改: admin order-status pulldowns now sort by ID instead of name
- 修改: admin "extras" menu no longer appears if it has no content (ie: can remove the menu file for music items from the extra_boxes folder and the menu option will disappear)
- 修改: improved calculation of commissionable_amount for affiliate hooks to support credit modules offering discounts
- 修改: email system change to allow separation between php, sendmail, smtp etc methods of transport instead of only smtp/sendmail
- 修改: Alternate email-encoding methods available. Default is now 7bit instead of 8bit. Can override via new file in extra_configures folder
- 修改: image ALT text no longer displays if image not found
- 修改: "Mixed ON/OFF" text no longer appears if there are no attributes for selected product
- 修改: removed auto_increment from metatags tables for foreign-key fields
- 修改: default editor plugins now selectable from Admin->Config->My Store via pulldown
- 修改: status message added to messageStack if add-to-cart set to return to product
- 修改: if customer record is deleted during a shopping session, they will now be logged out
- PayPal: no longer requires case-sensitivity on email address of PayPal account
- PayPal: was encountering an error if ez-pages functions were called in language files
(unrelated to PayPal ... only related to customizations affecting PayPal loading)
- PayPal: fixed problem where purchase of a GV via PayPal was leaving GV linked to wrong order #
- 补丁: banner bug related to status change ... missing parenthesis found
- 补丁: textarea displays for define-pages area in Opera not displaying properly
- 补丁: line-ending problem in the admin language file for coupon_admin.php
- 补丁: email problems for SMTP mailservers resolved
- 补丁: New Products date fixed to manage "All", "Current Month", and any number of days
- 补丁: download-resets via Admin were not properly considering "unlimited" vs max days
- 补丁: breadcrumb was displaying incompletely/incorrectly when navigating prev/next
- 补丁: zen_redirect function works smarter for SSL pages
- 补丁: USPS/UPS modules were incorrectly adjusting weight in some cases
- 补丁: Manual-Add of Specials/Features product numbers in admin now checks proper ID's
- 补丁: ot modules were not properly handling taxes when "tax in" pricing enabled
- 补丁: maximum address book entries restriction was allowing one too many
- 补丁: added missing switch to configuration menu for Page Not Found "define page"
- 补丁: sidebox "id" duplicates removed
- 补丁: stylesheet fixes
- 补丁: Discount Quantity would occasionally vanish when editing by product price manager
- 补丁: preg was breaking when testing template override files in template_func.php
- 补丁: admin footer now properly shows version details
- 补丁: admin coupon editor was incompletely handling multiple languages
- 补丁: Coupon Zone notice in popup and lookup pages added
- 补丁: Search page MySQL errors due to version-specific query problem
- 补丁: tax calculations fixed for order total modules where include tax/shipping flags selected
- 补丁: shopping cart was holding on to old quantity during some adjustment requests
- 补丁: admin categories-metatags editor not handling language properly and giving SQL errors
- 补丁: UPS shipping module changed to retrieve Fuel Surcharge rate if exists
- 补丁: remove ereg_replace errors on additional-image-popup window (now uses str_replace)
- 补丁: fixed occasional DOB errors when format changed or null data supplied
- 补丁: coupon "amounts" now allowed 15,4 precision instead of 11
- 补丁: product-listing quantity boxes are now similar on advanced-search results
- 补丁: sales/specials/features were not accurately expiring once-per-session
- 补丁: apostrophes were causing problems when sending mail from admin
- 补丁: admin menu pulldown borders were inconsistently displaying in FF
- 补丁: admin banner manager page-selection occasionally lost
- 补丁: remove hard-coded "Store Pickup" text from admin orders screen
- 补丁: CURL proxy support consistency tidied
- 补丁: currency-updater was timing out if more than 6 currencies had to be processed
- 补丁: some MySQL5 strict_trans issues resolved
- 补丁: shipping estimator was showing blank if all shipping modules were restricted by zones and the customer wasn't logged in
- 补丁: remove stray NAVBAR_TITLE constant name from showing in metatags in popups etc
- 补丁: $lng object consistency between catalog and admin fixed
- 补丁: order of parameters in some URL's tidied (ie: mfg selection etc)
- 补丁: media manager was including recursive cat/prod listings in pulldown
- 补丁: status messages fixed where uploads failed when adding product to cart
- 补丁: zone-definitions page wasn't retaining pointers properly for sidebox during navigation
|