简体   繁体   English

无法在 magento2 中添加新产品

[英]unable to add new products in magento2

Unable to add new product in magento2.After click on add new product loader keeps running.(sometimes it works fine)i found that issue "Uncaught TypeError: component.getPreview is not a function" in import-handler.js file line no 44.Is there any solution for fix this error?无法在 magento2 中添加新产品。单击添加新产品加载器后继续运行。(有时它工作正常)我在 import-handler.js 文件第 44 行发现问题“未捕获的 TypeError:component.getPreview is not a function” .有没有解决这个错误的方法? magento version 2.4.1 magento 2.4.1版

Bit late, but please try to remove meta_description from your attribute set and try again.有点晚了,但请尝试从您的属性集中删除 meta_description 并重试。

Let me know if you succeeded!让我知道你是否成功!

This may happen when you've attribute group code 'description' set, even though you change label but if attribute_group_code = 'description' then it may create issue with PageBuilder element "description" in 2.4.3当您设置了属性组代码“描述”时,可能会发生这种情况,即使您更改了 label 但如果attribute_group_code = 'description' 那么它可能会在 2.4.3 中与 PageBuilder 元素“描述”产生问题

So just change the attribute code to something else, for example: "desc"所以只需将属性代码更改为其他内容,例如:“desc”

UPDATE `eav_attribute_group` SET `attribute_group_code` = 'desc' WHERE `attribute_group_code` = 'description';

And clear cache, that's all!并清除缓存,仅此而已!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM