【问题标题】:unable to add new products in magento2无法在 magento2 中添加新产品
【发布时间】:2021-08-29 02:30:52
【问题描述】:

无法在 magento2 中添加新产品。单击添加新产品加载器后继续运行。(有时它工作正常)我在 import-handler.js 文件中发现问题“Uncaught TypeError: component.getPreview is not a function”第 44 行。是否有解决此错误的解决方案? magento 2.4.1 版

【问题讨论】:

    标签: javascript typeerror magento2 adminhtml


    【解决方案1】:

    有点晚了,但请尝试从您的属性集中删除 meta_description 并重试。

    如果你成功了,请告诉我!

    【讨论】:

    • 感谢 Paul。它正在工作
    【解决方案2】:

    当您设置了属性组代码“描述”时,可能会发生这种情况,即使您更改了标签,但如果 attribute_group_code = 'description' 那么它可能会在 2.4.3 中与 PageBuilder 元素“description”产生问题

    所以只需将属性代码更改为其他内容,例如:“desc”

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

    清除缓存,仅此而已!

    【讨论】:

      猜你喜欢
      • 2022-08-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-07-04
      • 1970-01-01
      相关资源
      最近更新 更多