i have some questions regarding DataFlow Import of product data. Is it possible to start import of profile by a cronjob?
Standard import of products works for me but i ask myself how to add categories to importet produkct during the import? How can i store categorie informations in xml or csv import file? And how to config profile to import categorie(s)?
It actually does not work. It is not possible to import categories or stock levels. We all hope for an update of magento dataflow. At the moment only product import into predefined categories seems to work.
I’m just making a guess at this, but I imagine that categories will be handled with future releases. For 0.8.161, if you look under app/core/Mage/Catalog/Model/Convert/Adapter there is a partially finished adapter for categories, which would leave me to believe that it is coming in the near future. As for the stock levels, I have found that this is supported with the current product parser and adapter using csv. I have not tried it with xml. In your csv file, create a column called qty and put in the appropriate stock levels and they should update. Looking at the code for the product parser, it also appears that further inventory fields will be supported, such as min_qty, is_in_stock etc, but we have not tried to use any of these.
i wrote a simple snippet to do some import via a cronjob, http://www.magentocommerce.com/boards/viewthread/4694/ just try it and tell me what you think, actually, image relation to thumbnail, small_image is not properly done but it almost work, Just give a try a leave a message if this work for you