解决Magento后台上传产品图片保存失败的问题

问题概述:Magento 1.5.1后台上传产品图片,点击上传,没效果,点击保存后更没数据(早期Magento版本貌似也有这种情况)。

出现JS错误:this.images.toJSON is not a function 在 /js/mage/adminhtml/product.js
行:122这个位置

经过一番努力二番调试三番四次不断纠结,总算解决问题这个保存上传图片失败的问题。

处理:在/js/mage/adminhtml/product.js这个js文件里,搜索“this.images.toJSON()”,在122行和177行这两处出现,均为“this.getElement('save').value = this.images.toJSON();”

把这两个地方的"this.images.toJSON()"替换成“Object.toJSON(this.images)”,保存后就解决问题。

PS,,MS某个插件引发Magento这个后台上传产品图片失败的问题。

Magento常用插件整理收集

以下所有Magento常用插件资源
来自网络,个人收集整理。

Magento常用插件


Magento常用功能插件

Magento jqZoom (放大镜插件)

官方下载地址: http://www.magentocommerce.com/magento-connect/satrun77/extension/1492/magento-jqzoom

官方key:magento-community/Safitech_Catalog

IG LightBox 插件(产品图片放大)

官方下载地址:http://www.magentocommerce.com/magento-connect/IDEALIAGroup/extension/1843/ig-lightbox

官方key:magento-community/IG_LightBox

Cloudzoom (另一款放大镜插件,适用于1.3和1.4)

官方下载地址: http://www.magentocommerce.com/extension/packages/module/3768/cloudzoom

官方key:magento-community/Cloudzoom-0.3.5

TBT_Enhancedgrid(后台管理产品显示图片)

官方下载地址:http://www.magentocommerce.com/magento-connect/WDCA/extension/748/enhanced-product-grid

官方key:magento-community/TBT_Enhancedgrid

Mass Product Relater(批量修改相关产品)

官方下载地址:http://www.magentocommerce.com/magento-connect/WDCA/extension/549/mass-product-relater

官方key:magento-community/Mass_Product_Relater

BoutikCircus_DeleteOrders(删除订单)

官方下载地址:http://www.magentocommerce.com/magento-connect/Boutik+Circus/extension/873/delete-orders

官方key:magento-community/BoutikCircus_DeleteOrders

Customer Order Comment(订单加备注)

官方下载地址:http://www.magentocommerce.com/magento-connect/TanRambun/extension/1036/customer-order-comment

官方key:magento-community/Biebersdorf_CustomerOrderComment

magento WYSIWYG Editor(编辑器插件)

官方下载地址: http://www.magentocommerce.com/magento-connect/Fontis/extension/586/fontis-wysiwyg-editor

官方key:magento-community/Fontis_Wysiwyg

magento AW_BLOG(比较好用的一款全套博客功能插件)

官方下载地址: http://www.magentocommerce.com/magento-connect/aheadWorks/extension/1516/blog-extension-by-aheadworks/

官方key:magento-community/AW_Blog/p>

magento news(magento新闻插件)

官方下载地址: http://www.magentocommerce.com/magento-connect/Anthony+Charrex/extension/1829/scalena-news/

官方key:magento-community/Scalena_News

magento EasyTabs 插件

官方下载地址: http://www.magentocommerce.com/extension/packages/module/1725/magento-easytabs

官方key:magento-community/magento_easy_tabs

magento Luxe_Yalc (一款通过google在线聊天插件)

官方下载地址: http://www.magentocommerce.com/magento-connect/varyous/extension/882/yalc–yet-another-live-chat

官方key:magento-community/Luxe_Yalc

magento easy lightbox(显示lightbox效果)

官方下载地址: http://www.magentocommerce.com/magento-connect/TemplatesMaster/extension/1487/magento-easy-lightbox/

官方key:magento-community/magento_easy_lightbox

Exploded Menu(将默认的标准单列弹出菜单替换为多列菜单,并且支持两级子菜单)

官方下载地址: http://www.magentocommerce.com/magento-connect/extension/1345/raptor_explodedmenu/

官方key:magento-community/Raptor_ExplodedMenu

Free CMS/Block Frontend Features

官方下载地址: http://www.magentocommerce.com/magento-connect/extension/1710/free-cms-block-frontend-features/

官方key:magento-community/AsiaConnect_FreeCMS

Magento官方简体中文语言包

官方下载地址:http://www.magentocommerce.com/magento- connect/Hisea/extension/359/magento-community-modules--chinese-simplified-china-language-pack

官方key:magento-community/Locale_Mage_community_zh_CN

Advanced Smtp (需要 php_openssl.dll 的支持)

官方下载地址:http://www.magentocommerce.com/magento-connect/ziq2004/extension/460/advanced-smtp--artson.it

官方key:magento-community/ArtsOnIT_AdvancedSmtp

Magento支付插件

Alipay Payment Gateway(Magento支付宝插件)

官方下载地址:http://www.magentocommerce.com/magento-connect/cosmocommerce/extension/2226/alipay-payment-gateway-------cosmocommerce/

官方key:magento-community/Cosmo_Community_AlipayPaymentGateway

99Bill Payment Gateway(Magento快钱支付插件)

官方下载地址:http://www.magentocommerce.com/magento-connect/cosmocommerce/extension/2227/99bill-payment-gateway------cosmocommerce

官方key:magento-community/Cosmo_Community_99BillPaymentGateway

Yeepay Payment Gateway(Magento易宝支付插件)

官方下载地址:http://www.magentocommerce.com/magento-connect/cosmocommerce/extension/2239/yeepay-payment-gateway---------cosmocommerce

官方key:magento-community/Cosmo_Community_YeepayPaymentGateway

Ctopay Payment Gateway(Magento收汇宝支付插件)

官方下载地址:http://www.magentocommerce.com/magento-connect/cosmocommerce/extension/2241/ctopay-payment-gateway-------cosmocommerce

官方key:magento-community/Cosmo_Community_CtopayPaymentGateway

e汇通插件:Ecpss Payment Gateway(Magento e汇通支付插件)

官方下载地址:http://www.magentocommerce.com/magento-connect/cosmocommerce/extension/2225/ecpss-payment-gateway-e

官方key:magento-community/Cosmo_Community_EcpssPaymentGateway


这些收集的Magento常用插件没都测试过。