Tags/topics: 
3
Answers
Vote up!
0
Vote down!

How do I import categories?

How do I import my category structure into Drupal Commerce? I am able to import my products using the Feeds module but I'm at a loss on how to import my categories while maintaining the parent->child relationship.

Asked by: beaudierman
on April 22, 2013

3 Answers

Vote up!
0
Vote down!

I'll give it a try:

1. Go to the product display type that you are using for the import.
2. Go to manage fields.
3. Choose or add the existing field: Product collection(field_product_collection)
4.Go to the feeds product reference importer you made for this product type and map the field to the importer: CSV FILE=Category TARGET=Product category
5. Make sure you have placed the category name in the CSV file and title row.
Import you reference file it should show up on the edit of the display.

Hope this helps. I have done it many many times. It works.

Answer by: bikecomedy
Posted: May 29, 2013
Vote up!
0
Vote down!

Hi Beauderiman,

Did you get any further on this? About a year ago, I took a look at Drupal 7 + Übercart, and the issue that you mention, was the showstopper: I couldn't get it to work, so I wend back to Drupal 6.

It's probably only of limited help, but maybe you find a useful module or hint among the documentation that I maintained at that time. Although in Dutch, you'll recognise the names of the modules: http://devliegendebrigade.nl/wiki/index.php/Importeren_van_artikelgegeve...

Please post a follow-up if you got it solved: I'm about to try Drupal 7 + Drupal Commerce, but only if I can indeed import hierarchical taxonomical data long with products.

Answer by: Strompf
Posted: Dec 18, 2013