Skip to content

Instantly share code, notes, and snippets.

@ashsmith
Created May 30, 2012 12:43
Show Gist options
  • Save ashsmith/2836020 to your computer and use it in GitHub Desktop.
Save ashsmith/2836020 to your computer and use it in GitHub Desktop.
Magento 1.7.0.0 Dataflow Profile for Importing Product Images
<action type="dataflow/convert_parser_csv" method="parse">
<var name="delimiter"><![CDATA[,]]></var>
<var name="enclose"><![CDATA[]]></var>
<var name="fieldnames"></var>
<var name="map">
<map name="sku"><![CDATA[sku]]></map>
<map name="image"><![CDATA[image]]></map>
<map name="image_label"><![CDATA[image_label]]></map>
<map name="small_image"><![CDATA[small_image]]></map>
<map name="small_image_label"><![CDATA[small_image_label]]></map>
<map name="thumbnail"><![CDATA[thumbnail]]></map>
<map name="thumbnail_label"><![CDATA[thumbnail_label]]></map>
</var>
<var name="store"><![CDATA[0]]></var>
<var name="number_of_records">1</var>
<var name="decimal_separator"><![CDATA[.]]></var>
<var name="adapter">catalog/convert_adapter_product</var>
<var name="method">parse</var>
</action>
@ashsmith
Copy link
Author

Full write up on how to import product images via CSV in Magento 1.7.0.0 here: http://ashsmith.co/2012/05/importing-product-images-via-csv-in-magento-1-7-0-0/

Reason for the post is simply because a large number of people are experiencing this issue (including me) where you can't import images when you create your main CSV, by creating this separate profile and importing the images, it works as you would usually suspect by storing the images within the media/import folder.

This XML information is used when creating a new Dataflow Profile, on the tab "Profile Actions XML" insert it there, then you can import the CSV, which should be modified to only include the 7 columns defined in this file.

@jackiellowery
Copy link

We have just released our [url=http://toybananasoft.com/importeval/]Import Evaluation Extension[/url] that, I think, will do what you're trying to do. Right now, it only works in Magento 1.7.x. It has the capability of correctly mapping columns and allowing custom columns. i.e. calculated columns and constant value columns.

Great functionality and great price.

@jackiellowery
Copy link

We have just released our Import Evaluation Extension that, I think, will do what you're trying to do. Right now, it only works in Magento 1.7.x. It has the capability of correctly mapping columns and allowing custom columns. i.e. calculated columns and constant value columns.

Great functionality and great price.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment