Getting products into Magento (Magento Enterprise Solutions, Magento Community or Magento Go) presents many challenges that can be solved with just a few key practices. Follow these simple steps to ensure your imports go smoothly.

1. Use Dataflow Profiles

The classic —import— and —export— functions (the non-dataflow functions) are not consistent. I recommend the more robust and extensive featured within the Dataflow profiles.

2. Let Magento build your template for you

Do not even think about building your own import CSV template. Make sure you have at least one product inserted for each of your attribute sets, and perform an export. The exported CSV is now your import template.

3. Use Excel, Save As —MS-DOS Comma Separated (.csv)—

The document formatting needs to be UTF-8, and this mode ensures the correct formatting.

Save As

4. Watch out for special characters

We had a scenario that even the above encoding did not catch. The product description included the word —d√©cor— – and Excel replaced the —√©— with a character that looked like a comma, but was not the same as a standard UTF-8 comma. This special character prevented the import of that single product, and did so with a —blank— for an error.

5. Do not change the column headers

The first row of the import CSV file has a list of the columns being imported. Do not make any changes to any content on this row. A simple misspelling, or a tweak on any of the headers can cause very unpredictable results on the import.

6. Place your import images in the /media/import folder

Each image must be brought in and processed during the import. The raw, source images should be uploaded to the /media/import folder – and have the exact same filename as is inserted into the spreadsheet.

7. If errors occur, use the source code to determine which row failed

When a single error happens, the message does not include any significant details that help you determine which row the problem occurred in. However, you can inspect the source code of the error to determine the row number. The error will have an id, with the row number of the data error. If the error row has id=’id-6′, then the 6th row of the import spreadsheet is the source of the problem.

Error Row
Paul Weinert
Author

Paul Weinert is our founder, managing principal and spirit animal. He’s one of those odd people you meet that was born in Portland, grew up here and still lives here for some reason. If you had two words to describe Paul after meeting him, we’d bet you’d use “charmingly quirky”.

Paul started GRAYBOX in February 2009, and for the first four years, GRAYBOX had a blend of a contract staffing firm and a traditional agency. GRAYBOX then hired our first employees in 2012 and has been growing ever since. Professionally, Paul has a background in internet business consulting, working especially with mid-market ecommerce, healthcare, and tech companies. He worked as a user experience designer, web developer and internet marketer. Nowadays, Paul serves as our company visionary, team mentor and head of executive leadership — Paul is extremely proud of the entire team and the company. He’s constantly humbled by the team’s awesomeness and the caring community that’s sprung up from his initial ideas.

Beyond GRAYBOX, Paul is married, has two young boys and lives in NE Portland. He’s also an active foster parent, mentors other local entrepreneurs, and volunteers on local non-profit boards. Businesswise, aside from GRAYBOX, Paul has started a few other businesses and is an active investor in the local startup scene.

For the sheer joy of it, let’s play 2 truths and a lie:

  1. Paul firmly believes that any activity would be better if on a boat.
  2. Other than this whole Internet thing, Paul has basically no other skills or expertise in anything.
  3. Paul is rare unicorn, actually born and raised in Portland.