I'm trying to migrate products from a shop that uses a MS Access db to UC. I first converted the data to MySQL and am now building the XML file for import. Is it right that uc_importer.module currently does import CCK image fields but doesn't export them?
I found a typo on line 212 in uc_importer.module:
$xml .= _uc_importer_export_manufacturers($dataa['manufacturers']);
should be:
$xml .= _uc_importer_export_manufacturers($data['manufacturers']);
Also, the return was commented out at the end of the function, so it didn't write any file:
return file_save_data($xml, file_directory_path() .'/uc_export.xml', FILE_EXISTS_REPLACE);
Glad ubercart.org is back(ed up?...)






.
Just make sure you generate the hash key in the correct way (line 762 in uc_importer.module)...
I'm keen to see a CSV import module happening (or write one myself). I was thnking that perhaps going from
Excel -> CSV -> XML -> Ubercart
would be the way forward since the XML importer already exists. Is there a spec for the XML that Ubcercart likes?
Now that I'm thinking about it perhaps Excel could export to XML and then a general XSLT template could be developed to et this in the UC preferred format?
Uberdevelopment www.tsd.net.au/blog