且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

在Magento中保存大量属性选项标签的问题

更新时间:2023-11-30 07:54:46

您可以尝试使用变量max_input_vars(在PHP 5.3.9中引入),默认为1000,这样就足够了,但也许您的配置使用的变量较少.但是我认为由于您遇到的主要性能问题,表格无法通过.

You can try the variable max_input_vars (introduced in PHP 5.3.9), by default it's 1000 so that should be enough, but maybe your configuration uses a lower amount. But I imagine the form just doesn't get through due to the major performance issues you're experiencing.

关于选项标签:通过任何更改,它们是否都具有属性图像的上传器?当我们在拥有300多家制造商选择的商店上安装GoMage Advanced Navigation扩展程序时,我们遇到了完全相同的问题(该扩展程序使用了Magento的内置Flash-uploader).

About the option labels: do they by any change have an uploader for an attribute-image? We had the exact same problem when we installed the GoMage Advanced Navigation extension on a shop with over 300 manufacturer options (the extension uses Magento's built-in Flash-uploader).

我们没有该功能的扩展,因此我禁用了上载器,但是绝对的性能下降肯定是因为加载了300部Flash电影.也许您可以通过插入按钮或链接而不是电影来尝试按选项延迟加载上载器.

We didn't have the extension for that feature so I disabled the uploader, but the extreme performance decrease was definitely in the 300 Flash-movies being loaded. Maybe you can try lazyloading the uploader on a per-option basis by inserting a button or link instead of the movie.

希望这会指向正确的(或确切的)方向.

Hope this points you in the right (or exact) direction.