加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

mysql – Magento Mass使用MAGMI导入图像 – 不包括图像

发布时间:2020-12-11 23:37:08 所属栏目:MySql教程 来源:网络整理
导读:谢谢阅读. 我正在使用magmi来导入超过30,000种带图像的产品. 问题在于图像是否已导入,但所有图像都被排除在外. 有没有我可以使用的SQL查询并包含所有图像? 我使用了这个查询但只影响了一行 update `catalog_product_entity_media_gallery_value` set disabl

谢谢阅读.

我正在使用magmi来导入超过30,000种带图像的产品.

问题在于图像是否已导入,但所有图像都被排除在外.

有没有我可以使用的SQL查询并包含所有图像?

我使用了这个查询但只影响了一行

update `catalog_product_entity_media_gallery_value` set disabled=1 where `value_id` in (select `value_id` from `catalog_product_entity_media_gallery` where value in (select value from `catalog_product_entity_varchar` where `attribute_id`=(select `attribute_id` from `eav_attribute` where attribute_code='image' and `entity_type_id`=4)));

你能帮我么?谢谢.

magento 1.8 CE

最佳答案 如plugin documentation所述,只需在图像名称前加上“”符号即可导入.

检查“排除”的原因是基本图像的默认magento行为是为了避免在“额外”图像库中复制它们.

但是,某些扩展需要在额外图像列表中显示基本图像.

顺便说一句,我还建议使用latest git version of magmi,这是更新,并有几个增强功能

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读