Magento CSV导入列表图片 [英] Magento CSV import listing images
问题描述
我使用CSV文件将产品导入我的magento商店,一切都很顺利,直到我打开商品页面。
I use a CSV file to import products to my magento store, everything goes quite well untill i open the listing-page.
Magento自动选择 到所有的列表选项,缩略图,小图像和基本图像。我做错了什么?
Magento auto selects the "No image" to all the listing-options at Thumbnail, small image and base image. What am i doing wrong?
图片
, small_image
, thumbnail
都设置为exampleimage.jpg(路径右)。
The image
, small_image
, thumbnail
are all set with exampleimage.jpg (path is right).
推荐答案
if你创建一个数组为导入添加这行在末尾:
if you create an array for the import add this lines at the end:
'image' => 'img1.jpg',
'small_image' => 'img2.jpg',
'thumbnail' => 'img3.jpg'
这会将图像映射到特定的图像类型。在csv中,您还需要添加以下3列:
this map the images to the specific image type. In your csv you add this 3 columns in addition:
,image,small_image,thumbnail, ,img1.jpg,img2.jpg,img2.jpg
,"image","small_image","thumbnail", ,"img1.jpg","img2.jpg","img2.jpg"
欢呼
这篇关于Magento CSV导入列表图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!